diff --git a/Consumers.sln.DotSettings b/Consumers.sln.DotSettings index 9fd659ca19..34aa8bbae0 100644 --- a/Consumers.sln.DotSettings +++ b/Consumers.sln.DotSettings @@ -9,4 +9,6 @@ <Policy><Descriptor Staticness="Any" AccessRightKinds="Any" Description="Types and namespaces"><ElementKinds><Kind Name="NAMESPACE" /><Kind Name="CLASS" /><Kind Name="STRUCT" /><Kind Name="DELEGATE" /><Kind Name="ENUM" /><Kind Name="TEST_TYPE" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb_AaBb"><ExtraRule Prefix="" Suffix="" Style="AaBb_aaBb" /></Policy></Policy> True - True \ No newline at end of file + True + True + True \ No newline at end of file diff --git a/samples/OrleansExample/Program.cs b/samples/OrleansExample/Program.cs index 259e6456aa..b56bf9b82c 100644 --- a/samples/OrleansExample/Program.cs +++ b/samples/OrleansExample/Program.cs @@ -1,4 +1,3 @@ -using Orleans.Runtime; using OrleansExample; var builder = WebApplication.CreateBuilder(args); diff --git a/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_conversion_attributes.cs b/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_conversion_attributes.cs index 9fe4945569..1c17532f4d 100644 --- a/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_conversion_attributes.cs +++ b/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_conversion_attributes.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; using JetBrains.Annotations; using MessagePack; -using MessagePack.Formatters; namespace Vogen.Examples.SerializationAndConversion.MessagePackScenario.UsingConversionAttributes; diff --git a/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_markers.cs b/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_markers.cs index 8eff8c4ac6..f32deee236 100644 --- a/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_markers.cs +++ b/samples/Vogen.Examples/SerializationAndConversion/MessagePack/MessagePackScenario_using_markers.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; using JetBrains.Annotations; using MessagePack; -using MessagePack.Formatters; namespace Vogen.Examples.SerializationAndConversion.MessagePackScenario.UsingMarkers; diff --git a/samples/Vogen.Examples/SerializationAndConversion/Mongo/MongoScenario.cs b/samples/Vogen.Examples/SerializationAndConversion/Mongo/MongoScenario.cs index 7756b5edce..27db5766f0 100644 --- a/samples/Vogen.Examples/SerializationAndConversion/Mongo/MongoScenario.cs +++ b/samples/Vogen.Examples/SerializationAndConversion/Mongo/MongoScenario.cs @@ -3,7 +3,6 @@ #endif using System; -using System.Linq; using System.Threading.Tasks; using Bogus; using JetBrains.Annotations; diff --git a/samples/Vogen.Examples/TypicalScenarios/StaticAbstractsExample.cs b/samples/Vogen.Examples/TypicalScenarios/StaticAbstractsExample.cs index 94858d32aa..7a70d4f26e 100644 --- a/samples/Vogen.Examples/TypicalScenarios/StaticAbstractsExample.cs +++ b/samples/Vogen.Examples/TypicalScenarios/StaticAbstractsExample.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Numerics; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; diff --git a/samples/WebApplication/OrdersController.cs b/samples/WebApplication/OrdersController.cs index 701026e91e..d3c9e890be 100644 --- a/samples/WebApplication/OrdersController.cs +++ b/samples/WebApplication/OrdersController.cs @@ -1,5 +1,4 @@ using Microsoft.AspNetCore.Mvc; -using Vogen; [Route("api/[controller]")] public class OrdersController : ControllerBase diff --git a/samples/WebApplication/Program.cs b/samples/WebApplication/Program.cs index 6dca676164..f24718264d 100644 --- a/samples/WebApplication/Program.cs +++ b/samples/WebApplication/Program.cs @@ -1,11 +1,7 @@ -using System.ComponentModel.DataAnnotations; -using Microsoft.AspNetCore.OpenApi; using Microsoft.OpenApi.Any; -using Microsoft.OpenApi.Models; using Vogen; #if USE_SWASHBUCKLE -using Swashbuckle.AspNetCore.SwaggerGen; #endif #if USE_MICROSOFT_OPENAPI_AND_SCALAR using Scalar.AspNetCore; diff --git a/samples/WebApplication/__ProduceDiagnostics.cs b/samples/WebApplication/__ProduceDiagnostics.cs index 1513c7ea17..5af9787944 100644 --- a/samples/WebApplication/__ProduceDiagnostics.cs +++ b/samples/WebApplication/__ProduceDiagnostics.cs @@ -1,4 +1,4 @@ -using Vogen; + // If Vogen find this type in this namespace, it'll generate a `diganostics.cs`, which is just a // C# file with a multi-line comment describing what language version, targets, config etc. diff --git a/src/Vogen/GenerateCodeForTryFormat.cs b/src/Vogen/GenerateCodeForTryFormat.cs index d19bced17f..29522bcdd2 100644 --- a/src/Vogen/GenerateCodeForTryFormat.cs +++ b/src/Vogen/GenerateCodeForTryFormat.cs @@ -70,7 +70,7 @@ private static void BuildFor(StringBuilder sb, continue; } - sb.AppendLine(Hoisting.HoistMethodFromPrimitive( + string hoistMethodFromPrimitive = Hoisting.HoistMethodFromPrimitive( primitiveMethod, interfaceSymbol!, (valueAccessor, parameterNames) => @@ -80,13 +80,16 @@ private static void BuildFor(StringBuilder sb, return $"""return IsInitialized() ? {valueAccessor}.ToString({parameterNames}) : "[UNINITIALIZED]";"""; } + if (formattableType is FormattableType.TryFormat) { - return $"return IsInitialized() ? {valueAccessor}.TryFormat({parameterNames}) : false;"; + return $"return IsInitialized() ? {valueAccessor}.TryFormat({parameterNames}) : true;"; } return "return default!"; - })); + }); + + sb.AppendLine(hoistMethodFromPrimitive); } } } \ No newline at end of file diff --git a/tests/ConsumerTests/ParseAndTryParseTests/Tests.cs b/tests/ConsumerTests/ParsingAndFormattingTests/Tests.cs similarity index 99% rename from tests/ConsumerTests/ParseAndTryParseTests/Tests.cs rename to tests/ConsumerTests/ParsingAndFormattingTests/Tests.cs index c1657881da..14f9b827fe 100644 --- a/tests/ConsumerTests/ParseAndTryParseTests/Tests.cs +++ b/tests/ConsumerTests/ParsingAndFormattingTests/Tests.cs @@ -2,7 +2,7 @@ #pragma warning disable CS8625 // Cannot convert null literal to non-nullable reference type. #pragma warning disable CS8602 // Dereference of a possibly null reference. -namespace ConsumerTests.ParseAndTryParseTests; +namespace ConsumerTests.ParsingAndFormattingTests; public class Tests { diff --git a/tests/ConsumerTests/ParsingAndFormattingTests/TryFormatTests.cs b/tests/ConsumerTests/ParsingAndFormattingTests/TryFormatTests.cs new file mode 100644 index 0000000000..2c11a551d4 --- /dev/null +++ b/tests/ConsumerTests/ParsingAndFormattingTests/TryFormatTests.cs @@ -0,0 +1,60 @@ +using System.Globalization; +using Vogen.Tests.Types; + +namespace ConsumerTests.ParsingAndFormattingTests; + +#pragma warning disable CS8625, CS8602 +public class TryFormatTests +{ + [Fact] + public void TryFormat_delegates_to_primitive() + { + Span s = stackalloc char[8]; + Age.From(128).TryFormat(s, out int written, "x8", CultureInfo.InvariantCulture).Should().BeTrue(); + written.Should().Be(8); + s.ToString().Should().Be("00000080"); + + MyDecimal d = MyDecimal.From(1.23m); + + $"{d:0.000}".Should().Be("1.230"); + d.ToString("0.00", new CultureInfo("fr")).Should().Be("1,23"); + $"{d:0.000}".Should().Be("1.230"); + + Span s2 = stackalloc char[8]; + MyDecimal.From(1.23m).TryFormat(s2, out written, "000.00", CultureInfo.InvariantCulture).Should().BeTrue(); + written.Should().Be(6); + s2[..written].ToString().Should().Be("001.23"); + } + + /// + /// See https://github.com/SteveDunn/Vogen/issues/710 + /// An uninitialized VO, when used in a formatted string, used to hang because it returned + /// false from `TryFormat`. False is only ever used in the provided span wasn't big enough, which + /// caused the runtime to increase the size and retry. + /// + [SkippableIfBuiltWithNoValidationFlagFact] + public void Uninitialized_vos_output_nothing() + { + var vo = new TestContainer(); + vo.ToString().Should().Be("ID1:'' - ID2:'00000000-0000-0000-0000-000000000000'"); + } + + [SkippableIfNotBuiltWithNoValidationFlagFact] + public void Uninitialized_vos_output_default_value_when_validation_is_turned_off() + { + var vo = new TestContainer(); + vo.ToString().Should().Be("ID1:'00000000-0000-0000-0000-000000000000' - ID2:'00000000-0000-0000-0000-000000000000'"); + } + + public class TestContainer + { + public MyId Id1 { get; set; } + public MyId Id2 { get; set; } = MyId.From(Guid.Empty); + + public override string ToString() + => $"ID1:'{Id1}' - ID2:'{Id2}'"; + } +} + +[ValueObject] +public readonly partial struct MyId; diff --git a/tests/ConsumerTests/ParseAndTryParseTests/Types.cs b/tests/ConsumerTests/ParsingAndFormattingTests/Types.cs similarity index 83% rename from tests/ConsumerTests/ParseAndTryParseTests/Types.cs rename to tests/ConsumerTests/ParsingAndFormattingTests/Types.cs index a0cc202a19..38d5e96cfa 100644 --- a/tests/ConsumerTests/ParseAndTryParseTests/Types.cs +++ b/tests/ConsumerTests/ParsingAndFormattingTests/Types.cs @@ -1,16 +1,18 @@ using System.Linq; +// ReSharper disable RedundantRecordClassKeyword +// ReSharper disable ArrangeStaticMemberQualifier + +namespace ConsumerTests.ParsingAndFormattingTests; + +[ValueObject] +public partial struct MyDecimal; -namespace ConsumerTests.ParseAndTryParseTests; [ValueObject(typeof(int), parsableForPrimitives: ParsableForPrimitives.GenerateNothing)] -public partial struct VoNoParsableNoHoisting -{ -} +public partial struct VoNoParsableNoHoisting; [ValueObject(typeof(int))] -public partial struct StructIntVoNoValidation -{ -} +public partial struct StructIntVoNoValidation; [ValueObject(typeof(string), parsableForStrings: ParsableForStrings.GenerateMethodsAndInterface )] public partial struct VoWithOwnInstanceParseMethod @@ -50,19 +52,13 @@ public static VoIntWithOwnStaticParseMethodWithFormatProvider Parse(string s, IF } [ValueObject(typeof(int))] -public partial class ClassIntVoNoValidation -{ -} +public partial class ClassIntVoNoValidation; [ValueObject(typeof(int))] -public partial class RecordClassIntVoNoValidation -{ -} +public partial class RecordClassIntVoNoValidation; [ValueObject(typeof(int))] -public partial class RecordStructIntVoNoValidation -{ -} +public partial class RecordStructIntVoNoValidation; [ValueObject] public partial struct StructIntVo @@ -102,28 +98,28 @@ private static Validation Validate(int input) => } [ValueObject(typeof(byte))] -public partial struct ByteVo { } +public partial struct ByteVo; [ValueObject(typeof(bool))] -public partial struct StructBoolVo { } +public partial struct StructBoolVo; [ValueObject(typeof(bool))] -public partial struct RecordStructBoolVo { } +public partial struct RecordStructBoolVo; [ValueObject(typeof(bool))] -public partial class ClassBoolVo { } +public partial class ClassBoolVo; [ValueObject(typeof(bool))] -public partial record class RecordClassBoolVo { } +public partial record class RecordClassBoolVo; [ValueObject(typeof(char))] -public partial struct CharVo { } +public partial struct CharVo; [ValueObject(typeof(decimal))] -public partial struct DecimalVo { } +public partial struct DecimalVo; [ValueObject(typeof(double))] -public partial struct DoubleVo { } +public partial struct DoubleVo; public class C : IParsable { @@ -133,4 +129,4 @@ public class C : IParsable } [ValueObject] -public partial struct MyCustomVo { } +public partial struct MyCustomVo; diff --git a/tests/ConsumerTests/ToStringTests/BasicFunctionality.cs b/tests/ConsumerTests/ToStringTests/BasicFunctionality.cs index 3ed0840ba9..f85782558e 100644 --- a/tests/ConsumerTests/ToStringTests/BasicFunctionality.cs +++ b/tests/ConsumerTests/ToStringTests/BasicFunctionality.cs @@ -1,5 +1,4 @@ -using System.Globalization; -using Vogen.Tests.Types; +using Vogen.Tests.Types; namespace ConsumerTests.ToStringTests; @@ -81,28 +80,9 @@ public void ToString_with_format_uses_IFormattable_methods() Name.From("barney").ToString().Should().Be("barney"); Name.From("wilma").ToString().Should().Be("wilma"); } - - [Fact] - public void TryFormat_delegates_to_primitive() - { - Span s = stackalloc char[8]; - Age.From(128).TryFormat(s, out int written, "x8", CultureInfo.InvariantCulture).Should().BeTrue(); - written.Should().Be(8); - s.ToString().Should().Be("00000080"); - - MyDecimal d = MyDecimal.From(1.23m); - - $"{d:0.000}".Should().Be("1.230"); - d.ToString("0.00", new CultureInfo("fr")).Should().Be("1,23"); - $"{d:0.000}".Should().Be("1.230"); - - Span s2 = stackalloc char[8]; - MyDecimal.From(1.23m).TryFormat(s2, out written, "000.00", CultureInfo.InvariantCulture).Should().BeTrue(); - written.Should().Be(6); - s2[..written].ToString().Should().Be("001.23"); - } } + [ValueObject] public partial class VoWrappingNaughtyPrimitive { diff --git a/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Generates_from_a_marker.verified.txt b/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Generates_from_a_marker.verified.txt index cd066b1b1b..6c6789731f 100644 --- a/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Generates_from_a_marker.verified.txt +++ b/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Generates_from_a_marker.verified.txt @@ -905,14 +905,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Writes_bson_serializers.verified.txt b/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Writes_bson_serializers.verified.txt index 2c90bdc9af..e064d13ce5 100644 --- a/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Writes_bson_serializers.verified.txt +++ b/tests/SnapshotTests/BsonSerializationGeneration/snapshots/snap-v8.0/BsonSerializationGenerationTests.Writes_bson_serializers.verified.txt @@ -632,14 +632,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt index 1cd6adf21c..9b2f723097 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt index 0a439d4da6..5b28c943b9 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.verified.txt index 6dc4a3524f..8822c64b17 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt index 6226473540..c6602b303e 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug625_EFCoreConverters_uses_wrong_marker_interface_name.A_marker_interface_not_named_EfCoreConverters_is_still_referenced_and_that_name_is_used_in_the_generated_code.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug625_EFCoreConverters_uses_wrong_marker_interface_name.A_marker_interface_not_named_EfCoreConverters_is_still_referenced_and_that_name_is_used_in_the_generated_code.verified.txt index a1faed30f2..a49b20ecd3 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug625_EFCoreConverters_uses_wrong_marker_interface_name.A_marker_interface_not_named_EfCoreConverters_is_still_referenced_and_that_name_is_used_in_the_generated_code.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug625_EFCoreConverters_uses_wrong_marker_interface_name.A_marker_interface_not_named_EfCoreConverters_is_still_referenced_and_that_name_is_used_in_the_generated_code.verified.txt @@ -663,14 +663,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1714,14 +1714,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.verified.txt index ee25c13860..b2b6ba4051 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v8.0/Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt index 1cd6adf21c..9b2f723097 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt index 0a439d4da6..5b28c943b9 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug581_StjDeserializer_throws_correct_exception.Test.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt index 6226473540..c6602b303e 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-v9.0/Bug595_AttributesWithArraysBreaksGenerator.Test.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug604_Swashbuckle_has_missing_namespaces_for_the_vo.Test.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug604_Swashbuckle_has_missing_namespaces_for_the_vo.Test.verified.txt index be6a9c14a7..8675390deb 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug604_Swashbuckle_has_missing_namespaces_for_the_vo.Test.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug604_Swashbuckle_has_missing_namespaces_for_the_vo.Test.verified.txt @@ -569,14 +569,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug608_swashbuckle_mappingTests.Used_to_treat_non_primitives_as_objects_but_now_treats_IParsable_as_strings.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug608_swashbuckle_mappingTests.Used_to_treat_non_primitives_as_objects_but_now_treats_IParsable_as_strings.verified.txt index 7b1dc09751..6319225068 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug608_swashbuckle_mappingTests.Used_to_treat_non_primitives_as_objects_but_now_treats_IParsable_as_strings.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug608_swashbuckle_mappingTests.Used_to_treat_non_primitives_as_objects_but_now_treats_IParsable_as_strings.verified.txt @@ -407,14 +407,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_global_config_should_not_write_a_primitive_cast_to_wrapper.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_global_config_should_not_write_a_primitive_cast_to_wrapper.verified.txt index 9ecc67df22..b4773e35bd 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_global_config_should_not_write_a_primitive_cast_to_wrapper.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_global_config_should_not_write_a_primitive_cast_to_wrapper.verified.txt @@ -631,14 +631,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_value_object_config_should_write_a_primitive_cast.verified.txt b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_value_object_config_should_write_a_primitive_cast.verified.txt index aaae9d7d8f..4de4aff9bc 100644 --- a/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_value_object_config_should_write_a_primitive_cast.verified.txt +++ b/tests/SnapshotTests/BugFixes/snapshots/snap-vAspNetCore8.0/Bug610_Inconsistent_casting.Setting_implicit_casting_to_primitive_in_value_object_config_should_write_a_primitive_cast.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt index e11064b6d9..9cf421510b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt index 5bcf4ddc15..8d64e203d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt index 2c2e95ead8..918dfd3776 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt index 082695ffe1..6339c722dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt index 103d29e0da..7ea3ef541c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt index 28b780bbd6..75b54fc06b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt index 4656e85ced..8d435ba12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt index 3896dd2ae8..9a65ba05b9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt index df9a569672..d57dc41f79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt index 6797cbafd6..cfaa0714c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt index 9177c7d618..008fd15848 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt index 735056358e..9171f1fcac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt index ed07e6f61d..c33bbb6676 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt index 4e0dd38664..c227a9ad4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt index b2c06b2aaf..3649705b8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt index 17a7645988..7c0e431fef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt index 41ccc1c699..24da9f001d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt index 1a4faa9cb6..23635ed84c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt index 4502c836d3..3e78930022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt index 0b9bc20c4b..83e59e341b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt index 278d4331fb..9db122ca33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt index 125ff0cac0..284cc22790 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt index 2021f51007..5ba38c8ace 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt index 2a7c97474c..bcad0350a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt index 8087bcb338..bca1b827d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt index e844603c4d..7c1ee67b0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt index 0a9000e12d..d0c3e91f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt index dbd843a8eb..ecab8bc77c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt index a7c55e7cd1..cbcd168aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt index d4bb39004b..0491760f53 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt index f9af23ec42..f9d933584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt index 918ff81967..c0e8cdd0f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt index 927357cf71..cb765424e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt index 225d8d2b1f..9d953df613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt index eef485c2f8..eac4bb5af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt index cea9cd0ff4..23e4afc82a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt index c5303d52b9..b180c8c036 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt index d8bb5e04d2..c353c0b3e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt index d9c0085063..d0b305d304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt index 18a9711ee5..b270032e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt index 1626a6aa18..37b4c95800 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt index 82db563b84..e3ef96b88f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt index 9f83fe6d00..79894f0394 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt index 40a66e5bcd..309b0c4f3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt index 880956fcb0..8e220152fb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt index 6758b08dad..49b6cab79e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt index be365e4dfc..2f1da93c5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt index 3b38b629bc..2beefc4234 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt index 0ca5c4da13..e50a6a45c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt index 2fca5c8349..4e5d75d693 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt index fc00c53137..1102076383 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt index bca0c37745..f5dc5fbd4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt index 4b7388794c..ae688bc533 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt index 33408efc20..1e5637cce7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt index d8762ee327..70ba378387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt index 95808fa715..beceaff5e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt index d24bf102e4..13381927a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt index e21de0141f..7fd180211a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt index 423aebafe9..3e183a817a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt index 1ef0b8c38c..e36b67baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt index 52663b0fc0..401a8862eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt index 1276c9459d..72f2539815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt index eec269c471..72ef7fc296 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt index 9448ff208b..49f781568d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt index 7d3229d493..22812c24d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt index 27140d81ce..04c5348153 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt index 7af8465f7b..463419b132 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt index e46c27a82d..37a76a8dbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt index 6a5d019734..856a9e2bee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt index 4b5c188df6..b8bf39894e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt index 00ed87e3a3..9bc0e69310 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt index 006a43bea1..15b6a13d4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt index 5bb8763274..ebc06b8bfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt index 1226ca5ba3..4fb49a042a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt index 930a1aaa25..9ff0a2a046 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt index 79830dd207..e4afa93af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt index 6169d0e156..f22c3b14cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt index 3b90751a1d..a8e4c54a51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt index 9d9468cff1..ef5731eb06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt index 2896e23628..719623cb74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt index 93efe63463..3dad964fad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt index edede1fd44..91149f461d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt index eaddcdf1f2..32955b3c5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt index 46f43e43be..d0ee081fe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt index d226b06971..e915e6d0ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt index d85db40e3d..887b078494 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt index 07258e12e9..684db7d553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt index 879f72d0b0..fb31ba16f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt index 275bbc2555..01df0de9d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt index 66c25f146d..2c12153c5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt index f4c7b74db9..7f036a9ee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt index 08a58c3c24..2c3eac0078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt index 54abdf4ac0..c79d0500fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt index 7fb1ed83fb..68c878deaf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt index 7432a13bb4..803961373b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt index 448e17fdf9..07d6f5167e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt index 057dda4b72..acd3976d70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt index edb204e4a3..e40f6ec74f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt index e96ca65a78..5e124dc809 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt index 7831d99022..560c642a67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt index 619a511374..8ced2ca445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt index 28beb1f61e..22ee28d2e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt index 8f05b8e3f7..5451e3f91d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt index 0a0cdc58e3..5d16d2bc2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt index 1e1d97a2ba..4ab896279f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt index e8ebe655a3..fd893cb287 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt index 69596a708a..a33e852af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt index 5823f82907..fbe1bcaf9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt index 0029b220c8..cc33d7729a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt index 9688d752fe..30254e90d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt index 2002b3cc98..da17b323c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt index a7c684d03c..4a760527d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt index 439cbfcf5b..8c4dda2641 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt index 858c5739db..ed876c1fbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt index 7a22f9d3c0..8d47354ac7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt index 01ae38d8cb..1b3b804020 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt index 69539e1a0c..67bbaf7e62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt index 6e6409d3ac..8283bd1c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt index f74a53c903..07c74998cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt index 955cfb6f21..a5612e9b06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt index 3a1ebfb3ff..86a1906782 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt index ea0d6ede2d..c2c6f59d23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt index 96e2b05568..761b289059 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt index 12ea3e4dd3..a7945422ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt index 888946096a..d21c3d300a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt index 292552d22b..5ef79849cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt index bd0e9ce60c..1c63c62ad0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt index 686e3babe5..703c545445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt index b6c208c6a8..f0581a2c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt index 32be4b2ee1..b9dc1dadb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt index f83e416ad9..e59a209b56 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt index 47a034d525..dfdfc9287d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt index 029d3b0520..173e64f623 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt index fbdaa28964..ae95e7b05b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt index dbb432b5f0..b3be01f2cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt index 76f6e6d14b..246138c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt index 02389d222a..647fdb83bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt index 50bebd4e11..4ac0f39d63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt index 79800d5fd1..0535d7d94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt index 478b76ac23..3d9aeff1dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt index d5617d9842..c4038a4e35 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt index 2d92a4e6b2..9b87cb4591 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt index 79566ea132..13c08900dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt index 3cdf431958..17f1bec0ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt index 5dc8befc13..38e4278c86 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt index 6d137084cf..cb87578699 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt index 1809a5bfe5..eb1591699b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt index 5dadfcc5b7..7ab3c90a7e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt index 27d954c795..76578ebff4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt index 0c17fbea2d..c048fb7648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt index b65aa94a7c..cd06d50af1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt index aa5e04bbb1..05c8522467 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt index 6984aeafd8..788a93cc47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt index 451dd44b1b..ebfd3ed9dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt index 4cd2302861..6f4694c02f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt index 47f8242000..f4c2fe7462 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt index 1959ea47b2..626c7e0079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt index 076ce2aead..d73784ba3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt index bb081a6c4b..197c00f6bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt index 97080add08..a051ea8341 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt index 3f295da633..ee99788728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt index 20b688c112..bacddf2136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt index 3b23b9b71a..9eb52d6f5b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt index 4644c97879..aa5864bee5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt index 9ec82df6a7..fbfb12c763 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt index 586b72ceba..b09539f668 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt index e991e6a878..b7c549cf06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt index 020521e2d7..026bc233b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt index a7f9165878..ad2caca6b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt index de5efc6256..ba5c2e3b07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt index ccef73b86a..6286662b9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt index 8f7c715395..c5fb116844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt index 2d8dfe7403..fa5f62ce6a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt index 0df12d3638..a54fa2ee47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt index c0cc8737db..16a4cf887a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt index d3f8329241..ac7a0bceb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt index 57d4e78da0..ab934ff7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt index fe2028ff99..f8f992bb3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt index eea614a0e9..4ff4a61e18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt index 4eaf322fb0..71d908debd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt index af98eb84b0..38793289ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt index 969ed527c1..c7c85661ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt index 6454d40c24..ad353b722e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt index f84d91ef4b..1a983dcc95 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt index 0a1f8996e3..ce655f0bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt index a75df6fc96..266cf4ea8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt index 5eb6af8434..a08167ed69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt index 575c2ae837..65623e4772 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt index d639877bd1..9551df1b70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt index 737bdb622a..548fc1f21b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt index ee0144eefe..6ec4aa14b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt index d1fbe1dc90..b32b18b2b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt index 9f65ed1a5d..eb8c7d9018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt index e3865ceed9..b64022043e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt index 85cce5c9a9..ea0ea4fb5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt index 6de385ecea..8ed3481ddc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt index d335a7b40b..0d1c5e9e1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt index 0198923234..50bb68569f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt index 399ff06b85..c1f8682e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt index 5f966f1203..7649146d36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt index a86c19be58..6d3c00ea89 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt index 239b384b3b..98bde00a6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt index 876130827e..3e2e93562e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt index 243063b9b8..44e9986243 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt index 9087a96b17..8f19f94815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt index f7d18c2400..42593f669c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt index 136d445fab..dfb1f76a43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt index 40488bcb90..ff25ff4e15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt index 60a65be2c8..207cd6151c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt index 498aea236b..d2b1669534 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt index 6b550b8332..34cb115556 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt index 659dda956c..fc332b9010 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt index fe8102ac70..0e74365372 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt index df795a7214..d722210cdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt index 7c6f0a5e5c..8cde27a233 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt index d2beb47c71..716ff9f104 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt index 2d0f59e30f..caa5d702b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt index 4730d23a17..684231670c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt index 275bb4edcc..24f3523fce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt index f465a531e3..acefd3ff41 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt index 4353079382..747a634190 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt index 3e96b60ccc..08631ecef5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt index 84383b078c..9d0d801f93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt index 47ec5904ad..c68c5c1c61 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt index a8e78813fc..265173151f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt index 6140677347..0489c361f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt index 3f8b43291e..a117a158a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt index 5f1307ae42..479beb1d44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt index ab1ce7de75..1de6d43aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt index cd459f00a4..72787e3873 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt index 344114978e..214580f13d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt index 27826f9c9c..f40262e984 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt index 0756949af3..d51fda264e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt index ebf6f334f8..dd66ac18b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt index c0606a35eb..05e24fd1e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt index baa2fff5ee..03789cf888 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt index c70cd4cc66..c560d8de60 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt index 936828ad66..f8f8f28c1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt index 3e35f4d175..73629dff49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt index dd20415132..8a089bd761 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt index de602fc193..43b161f49a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt index 932e247230..1ba72bc30b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt index 9b0f021032..536990f46d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt index 663c159202..ff2c88c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt index d2c96d4e50..cda3dd4b20 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt index cd5175e42c..95de9dd048 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt index a6884c2957..94db6698a0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt index 9d35f25969..61854b0c2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt index 6f4eb13c79..941158b52e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt index 723ca84d3f..f221ac32bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt index fe636ed8a7..14c595756f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt index 330e1172f8..d5e195ff45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt index b2aa22b0c2..3a8350c8bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt index 06101d7bc1..ddb78e9fb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt index a377c05572..691f47a9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt index 714bfcb6cb..ae0aea6c5d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt index c158c43837..4791a1338a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt index 3227d8c8e0..b55dc9c997 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt index c4a00814f4..011f1d4cee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt index d5f544f1a8..de1374e375 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt index cf6f709288..16ae1ab0b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt index 383e8d5cf8..e0e54c0326 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt index be5f6b3b22..79c511c36b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt index 469e03ca45..bceb57e5fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt index 1b16368e32..e0f0ae3361 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt index 90acd774c0..9d796cdf49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt index 0b838ead71..4417f63db4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt index 8d503a91c9..1b4b4e6fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt index 6d202fcf7b..505a088449 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt index 1a63aac344..62aa226057 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt index fe2a20c3c2..87792f0ec9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt index a1b37a330b..eba67416d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt index 17b9e2b5c9..ddddf7dc1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt index e13ec43ed8..70ae937f13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt index 34de5b0b80..5ba0420aef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt index 424d88e08e..fd2bfd75e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt index f0960b0e7d..b4c609c463 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt index 672405a8f7..15937adbbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt index 0a9dcf3e6c..144c0b8c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt index 2d339c561c..426c64773a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt index 5f3b80bb81..961a621b1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt index 2bbe394f3f..8cba8eae40 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt index af0898080f..f0c1c0abe1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt index b960d358bf..a47dd6bee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt index dd6eb9c8e8..efd97d26b8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt index e6ef842e4a..90daf22e9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt index cf8d4087dd..f92c7f4674 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt index 7ec2921af8..a6cbfcfbfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt index d5278fa374..06afad9a79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt index 332d83815a..08ee735cfa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt index ee9c9fcf38..42016d9af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt index c9794a7bd8..8a5bd63e5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt index 325ecb2cf2..fef7918bb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt index a2b3114a81..6d64857d33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt index 49cf398a31..9a75e3ebae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt index 8e52b4bdf2..d5e87cd9b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt index 16adad5931..cd8fad47da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt index afa9f11cd4..6d9bcc21ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt index ee85d5e5e9..ecfb7a2572 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt index 7f769619dd..5d178251f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt index 2da2aae047..93ee5c0491 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt index 7e742d3753..cc68c0db9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt index 830e6dc29f..a82a1e1927 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt index 806b75e1de..5ec9f8ead0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt index efaf3b94e4..9e529a436a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt index 56695bde94..f1051384fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt index b25a5a5a59..d89f8a40a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt index 44a234a398..4d5e1182da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt index 03d8b772c7..11f9cf81ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt index 73a20956ea..1f06b2716c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt index c0d65876b5..8b455f45eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt index 21d764275d..eae21bf861 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt index f32a86f373..e7309ac926 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt index e47858b0e6..2d2e4a04a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt index b65eb787f9..51354549d5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt index e8f55b3b10..9f381455ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt index 87e5e7925f..db8349b1e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt index a8d2363886..1cea4c0085 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt index 2a94ea2967..2d9088f94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt index 46aff9ff54..ae8f33c3c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt index 227675a74d..9962ab601a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt index 324ce79916..e48a24c223 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt index 8693242b4c..bd09b77350 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt index e93fdad334..d7ba359477 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt index c19c7fcba8..c85ceeb121 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt index 401cac2d2f..88b5dc0e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt index aa6b5e4183..abe0f91e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt index 319c37b4bc..a085efd663 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt index b863a31d5d..f6e3a87334 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt index c822aa61a2..35a910dddf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt index b564d72f35..7886010dea 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt index 096701cf34..4e84c211de 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt index 68abbc3429..69db1ad53c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt index b32a30c128..6b29e41f3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt index 7d57184d38..08ad6a8a5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt index d3ebb2d26b..138f9d6ae8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt index 4952c4d2af..08d6083e57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt index 2466e2295d..0cafd735d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt index 3e84804021..bf295f5fcd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt index 862ad70539..16bf237a5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt index ada87c39f2..ea1c7a9ef4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt index e2ed5350ec..f0c49460a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt index 19bc6786c0..84ae8448ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt index 8e295f8755..a0548e7c37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt index 30863a8605..7e63116c93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt index 3b56cb7db8..3ac71cf817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt index 6727522633..2a7487110c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt index a81d172b6b..a9aaf308e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt index 50fcd3469c..46f8c4b6a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt index 87927b110a..9ccf10e0c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt index 0cdd9d34c8..1683da13eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt index 046b5b63d2..6a1ddc721f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt index 5c7157261d..0fa6552384 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt index 7d83413d28..f9369df405 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt index 1e5ff9d9c2..af813e10f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt index 909b5088f5..c0bf060fe4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt index c4661a792f..5a01b6308e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt index a0e133d8ca..23a7f24ba1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt index 453a862136..c83355a841 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt index 449f13ecd4..231f68ba13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt index 542a84c80e..1f5e8d0f14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt index 19b6c9e1da..86f520dbe6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt index f852e85e08..d4e4cf6400 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt index fdd7b16cca..fbfe36ac58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt index 2a8f29788d..631af4699d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt index bb6d325b7f..ebea397a8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt index 5c47def6fa..3d49134e6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt index 0de3affdb8..c3c62a4573 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt index a269d71c64..d19c545bdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt index fe9964dfb9..360ead4fe8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt index b61d555564..bd8a32b4ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt index 04549591a8..fb7d72d5d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt index d4ec2d725b..6983fd07cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt index 9881f91ae1..95c02dc770 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt index aa27fbcf0e..6cea827d82 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt index 07173340d5..8ade7c2ddd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt index dff0907f03..884da8b59f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt index bd6e0e0a40..d120145962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt index 48793db347..9638e8ab24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt index c0170a1ed5..e9c635b395 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt index 156818b29b..6ff7d7ef8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt index 00101ade99..0e994b9743 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt index c9ed0e2616..0edc7f7128 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt index 8162323b8e..b7af737f4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt index c34134dfb5..a069b19fd2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt index ec68f4e9a1..de3a65f7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt index 592980090f..ecddfe9e3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt index a3b1e619d5..c705f85788 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt index f557c0bd71..65b1453de6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt index fb1252221a..c08e62327e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt index 95c2e13f68..7b7aeb7fd8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt index 6ad8b0c187..50a1da9b98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt index 4d7b6b638a..0a31ed46dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt index 6e3f30087d..02b0eaf14e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt index af2b4a002f..2c71989a2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt index 8cca0e39bd..653fab73b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt index 8d549aa6b1..fae568a4bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt index c69fa0ac1c..c4a05b8ed8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt index 56b2991fe9..c11537b468 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt index e2d2b30f96..7bf49d6a17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt index 2462d31f01..bf7aafbd3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt index 719a12433f..ef611d8a31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt index 37d7381409..028bd7e9fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt index 2a871886ac..1dd656fd3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt index 53cce2f399..abc52f25d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt index 9e53f648a1..cc9b36305b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt index 1d0c87c6cb..e66d0719b5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt index 945b7a9cfe..f0018a9cc0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt index 51d6d75987..077cb0452d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt index 81be640fe8..fb35ef7080 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt index 2735957d99..a958e4fd17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt index f4fe6f5739..ea73427e9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt index e01129aa27..4553e699ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt index c46512d552..91641c0b96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt index 1066b0c849..09f1d08f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt index c9140b5dd6..63fff253d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt index 26ddd010c8..e7e99a2d1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt index 77d240c0df..0795833a30 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt index 4f4902050b..a74557c938 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt index 0de6d7cbec..a585b759af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt index 957e4895b3..d36530c4f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt index fcae7c9db6..0c94496a48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt index 767062ef87..17cc85cf69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt index fc5926fbe1..a3a3139a44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt index 9b484fbbdf..11255bfb05 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt index 71dc1b8cfe..6fb4e677d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt index b596fcfb30..8d3e9506df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt index f7643c610a..805d27e9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt index bb2b96b7ff..a00e54a42b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt index 925aba54d5..617b15f2f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt index fa1a8db34b..419ab1bd48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt index cce0dcf259..7a88d7a052 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt index 5e4d01e75f..dbbd3c6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt index 04de1b3cad..eb4647a6c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt index 926b632742..ed7859fb5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt index 0486b9647f..ded344f55a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt index 14b3f76ad3..b42349f06f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt index 7340cad906..c25bc4f4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt index a0552ac5e7..14cd73a978 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt index 045740aeb2..6736994ed3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt index 77c5841672..d4619c42e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt index 06a35b1e35..4bf78469e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt index 1e698da26f..a59a52d399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt index f15385b122..1862c10bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt index bee16622cf..30c3fa34e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt index 47b571e953..55eb281f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt index df765f76ea..5e7c632d51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt index 9945452169..337aba1257 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt index bcb032ca2b..43d418ae48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt index e395ab7972..eebf17cbf1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt index 0ad214dca6..29d9ed57a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt index 568413c911..f7e87dcf4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt index a84f6b8de1..e181d4570c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt index 8092daf264..4fcde70ff5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt index a2460ebd32..f241ce1684 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt index 9544e7dcac..5f7c4bed07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt index 4d4fb338d1..8c3534c4db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt index 36d9d3c063..ab7483ebd0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt index 5091f96b1b..5a9265985a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt index 85383ec01a..0d632a2cce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt index e0eb9e10d4..a5e1d67db5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt index 9e0a032217..61a646d94c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt index 8a8df5fc08..4c9215d213 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt index 744eca299e..964844ebfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt index ba4a110b89..6f255cef42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt index b3afe8abfb..841ec1a471 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt index 76113dbff2..decd673fd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt index dc2cd4b7e9..b3ec8ce5c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt index 3ecb0fff1f..d58940b304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt index 301e6304a4..627af93799 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt index f349900c18..fda57a890f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt index 5178a1764b..a953d36758 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt index 23ba4bfa9b..5618927b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt index 7c1541129d..0052e8cde3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt index 84df48f2da..84383217cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt index 96c1de17c2..668755e68a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt index 47d0429212..9b3432ce3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt index 3c0f2ed72e..d847bfadfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt index 15d5273ecc..017ea5fcef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt index 16995019ff..dcd86cb8bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt index db4e2e99fa..db6755c52b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt index a7d87ef14d..9f61dface2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt index e4fa706ffb..2b18c56fbd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt index 4013ad34e3..22c50bf3b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt index 954b52ba16..ba78a3f778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt index a6157b06e1..a05f90c11e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt index 6b673e3922..8cd0c7b2d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt index 5b2e8c3075..26828681a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt index f99f25a10d..9056a09ca8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt index 4835791907..2c937175fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt index 7d4f4cc2a1..984bc0e012 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt index 2cba5cb565..3479e5ae9c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt index 7286698698..621479b945 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt index c220717604..3c5b17a626 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt index f76aff5dc6..9e2488ff36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt index aca21b9664..81beab652a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt index 0fd4544b50..c71d6bc9d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt index b6a7b651f6..baf284d05a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt index 5d4176dd0b..c4c3dc9f1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt index e9722ddea4..b3c224a479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt index 533a3988b6..c3f04bbca4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt index c9e8e77439..df8330c4a1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt index ccdce437b8..d331746633 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt index c340bc1261..8ef9319ac8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt index b28db6179c..0b592d628a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt index 0438f235d3..369b4a6a32 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt index 2283396d46..d3460ff179 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt index 2945822700..b96203449d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt index 9955a070a8..45dcbf90dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt index cae404e002..ffe597afad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt index 65f7f8557c..4027c4eba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt index 96bf9eb77f..0d9915bb76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt index dcc4e07160..f2698fa582 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt index e9b2ccb1e5..3a71f1a63a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt index 41f4343d88..ff14c7a8c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt index 212293a258..eda305fc13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt index 6908ac9f44..a88bcf351d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt index a0049e7099..52a28d2eed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt index 60c29d0e83..542c7aade4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt index eacfb01961..576815c8f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt index 4457570e89..580676814a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt index c9626dadf6..4f05914d76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt index 439647fb6e..e7273e05ac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt index e8fff79fe4..0e62e224a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt index e408a3464e..07a7e34a69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt index c1970525bc..2e7a110e81 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt index f955c7731b..d0c6e0ecfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt index bd8faa6bc1..253171cad8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt index 264a835dd3..e8cc934017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt index 2a7b8efbca..0446adf50a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt index d988287a83..f6f8e4c58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt index c80068cd47..f279b07b75 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt index 8fe3058be6..610dbb3ce1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt index 98770d1e93..41f3c1c9e7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt index b878639f20..1571e06bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt index f78e727e0b..1b38db6828 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt index a39cce45ab..b0f614f135 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt index a755a09739..11f2ccfe3f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt index 89d62ef2d9..5100b6f415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt index c1d32a0441..e1facd0aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt index 65aadf0d32..7d8032f962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt index 6f2780f08a..6fdf0775df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt index 98901f4c80..3833b7b497 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt index eb6cdb3340..469edc2ba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt index 233f730840..6b0b0a629d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt index e948bac3b9..655a4df0cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt index f74f9c856e..b400190276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt index 68fbf39d8f..2354d9d57a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt index 1e6e2edcc6..ec4e832562 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt index 025ad4056e..804ff7aabc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt index 8bb8f46007..ed46680327 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt index dcdb0ed11b..ae3188b692 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt index 437aedde84..3d7a7570d1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt index 06c2e744a4..86945a8fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt index bf79b41411..11548ce333 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt index 33c6cd3a9a..e250815895 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt index 54672a74b6..a8c565a387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt index d2cf1df2b7..3e3f6f37ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt index 4339e0c593..56daf4d12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt index 07c268d61c..e46cb4ed0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt index fe75211102..386b6e3335 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt index 9fea5cf9e4..4ce22190b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt index 0680045d7b..0fc708fb43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt index c3b4eeb63e..050026a373 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt index 8b2df1c59d..aa71d5dc7f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt index 20ea8e0ca0..8a0a718c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt index 6e658a4873..854cf41aac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt index e4ecab1b39..551ae42544 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt index 8104c5b4c2..a11f318c65 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt index 66d8c3ab14..3a66472cbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt index 369fcc1251..15e98d29d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt index 76b697d8a3..7aac11372f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt index de76c50a3e..16cfbadfab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt index 372180b667..27ec96e158 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt index 9cb7b439d5..b97c75c669 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt index 9a11a526c6..1da710da42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt index a27a4907c3..ac06ad2aed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt index 9365c2d7cd..a9c5e29851 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt index 0f5965ce69..d5899b2f84 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt index 31f6dd0560..53867c0dd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt index 6b8817f629..20fa4889ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt index bef3e17fe2..9974052a70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt index b6d117b76c..4bd8a8105b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt index 944d92e45a..1ba877f14b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt index fd083611e9..5e1b56fb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt index 4b72174d8b..1f81dd617b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt index 16ad6b0368..9897e85757 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt index 77d832d13e..7e628212ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt index cd5ca8f04e..2aaa301d5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt index 4f86b6f197..bfd7443730 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt index 0105df5eff..bf065c8736 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt index 92e52bf714..576b12f72b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt index ac8e77b3df..46e4c4a170 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt index 411c894c59..99e9b8a756 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt index f98a44af87..bb6f88c4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt index 0fdaf63c4d..3292d06151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt index 31caaa7076..82c337ec6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt index eee2c4c29a..aafb784ca5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt index fee510856a..5454c320f6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt index 2399ff741e..b10dcb1387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt index a2b5a6471c..d02f32f78c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt index 8fd5b8e3de..6123300f0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt index 095dad07e8..34dc01c7e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt index 66a1a185f7..deb9b16f22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt index beb9152e3d..ec4387c519 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt index 2f56d5ad38..002fbf20e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt index 76abdb804e..35aaf60b42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt index 33122376d3..20531badf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt index 76d3aa8fe8..cb26602914 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt index 2ff0d644cc..f8bee66a3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt index 02285e8218..e7927a4b12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt index c6764e035a..81c97ca5a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt index 1dd4a88ab3..af55462269 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt index 228c4c7f9f..ed51491236 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt index 405b5b1f0d..ae6cbe9ad7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt index 28b3907f28..9268d7a5dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt index 2b83b340dc..7f323a3648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt index fd2ef8bb13..454d4c635c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt index ddb76760d4..ae0766286a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt index 5b184cad4e..f29c37bb7d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt index cfe3f75d17..9279cfd686 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt index 3da1e47285..2bd386ac2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt index e4838612fd..04195ec7fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt index 0cc064b218..3e4abc7db7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt index 1aed761c36..ff235292fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt index 9b6175cb80..edbb8f7215 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt index db568da39a..aeb6817fb5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt index f59e7a5485..d402df3433 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt index e5c1708b66..c57d6999a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt index 9e89c4cf54..26fd9d7dcf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt index bf4faa9685..5f18a6a8ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt index 4970ff72df..2bb511dc14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt index 8b9cc413e5..afb8876219 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt index 0bd6f183c9..0455ff4459 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt index 30b9a19300..3023f1a5da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt index baadaa45bc..c030f21b22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt index 0da22ac65f..f073bfcb6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt index ce81059b1b..4802c686f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt index 3404e34fbb..4e0314cf10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt index 17b4d1f4f8..286448e0be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt index 3b14296f19..65c47adf77 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt index 69e637299b..fd57ea3834 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt index e9ff2ce035..8c1f03c29a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt index 89a41f02a9..e50420412e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt index eb30f6e26d..12fd29e804 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt index e7c9a3af2e..9a3aa77e0d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt index 36cbeb0211..c65208a7e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt index 58e52feb9d..ddc405a4e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt index 0a2e6694f0..1dc5959d45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt index 8972dccb7f..d6a6e91a06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt index 7d57cfeb62..0f7814b580 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt index b93a7f8681..e4fe9fb2f5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt index fbb098ad33..f756a9b45a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt index 0f48b90a94..3e8cc31ed1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt index 3e7676fd27..25d9345c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt index 4bf373ff11..8197e605f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt index f86e25dc41..945923e8ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt index 7308670020..5bdddb0ed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt index eebb955eae..2944161485 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt index cb111ce79e..1611db83f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt index 2880a87873..5d9c2e5c68 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt index f2b67a85a4..f01d526357 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt index 6fea5c4d8e..392a3b9f6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt index fb8dcadb12..6d6949a977 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt index be8ad5847b..0347b3edd7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt index da47d29bfe..108df006fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt index c7177686c7..f6e97ea813 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt index e8bd918fbf..affb962695 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt index 929f4956b0..92d93cefd1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt index f05f7f5001..7d4c43a58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt index c8df5462bd..aec6d0cdd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt index 3a4b5feea0..4703eab957 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt index 66a338eaea..4a07d67503 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt index 0f43c7c95a..0c94e845ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt index 2272658634..ce7240c007 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt index ce07c69b35..1057ce15ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt index 601ae92781..ffc12579ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt index da5669950e..20cbc9b925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt index dd0da37283..382b273f8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt index 2ed78afb80..9b2dce6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt index 846deabef6..f27f37ccda 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt index 123d863ad2..15dcea2940 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt index 2823178455..fab61d9108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt index f38b839d29..a53209be59 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt index a1355a6852..54a3b8a72e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt index 0f2f306c0b..1832a304bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt index 8bb050fed6..984bc471e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt index 1e1bd718ca..cb95a999ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt index 4c1b09c92a..b79e174713 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt index 20ee325bc5..b7b30f1f91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt index 04d7be4e6a..75fe7ca66f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt index ff813fc307..2fd2749da6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt index 094ad5a1e2..21aef70f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt index 3249378549..e10004f752 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt index 8afbe3c9dc..2a79bc1a10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt index ea346d51fc..0364810eec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt index 137a8d147f..fe4a1abbcb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt index d8a077eb1a..2deaa5e444 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt index 3af7e70670..bb01bfd2c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt index 7a09f31a17..0e1a405bc4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt index 8faa0752dc..9e0da52930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt index 50db77e9a3..65a5bb19f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt index 8568cbe563..5f71acd6aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt index 3caac5b6c1..ef9acd11e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt index 706f74d115..f685d30c66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt index 5372f62ae3..926658f1bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt index 845f86b611..2a886d95ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt index e330d47b57..de477aa38d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt index 03fa2db5d3..3159ec4019 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt index 9264f3e006..cbc064ab18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt index 051c9371ee..a05dfc9afd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt index ba9d3f3acf..0e39cd2844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt index ba5290f6df..dcdacbe022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt index 6a05d3e414..78fd1aeba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt index e4f17009f1..7ae4c4ee49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt index 7f65abdaf8..34121a9c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt index b56486dd7d..2f0e95222f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt index 2b622a3628..af39fd4bac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt index e83bd02af6..98d3d2001b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt index 9e2f65c14e..9e92a2e3b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt index 864685536e..1adb151014 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt index 84886ab39f..9e3a5a4a2a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt index d0f27e0248..1baeac47ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt index 76547cd457..1990b4cb1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt index fbc646530c..f33c23de38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt index a830ceaa9b..7aa1898edc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt index 37296e808d..3e7e8d44be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt index 2a377b830b..c7c0ec809f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt index 395202058b..25dea5c2e1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt index 6c000cb4c8..49a21e7fd6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt index 3e9566d413..85b0d92629 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt index e3aabb078a..0920a1b817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt index f85744acb8..21b71c65d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt index 60e5a17977..51a054e072 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt index e29d15c655..a04569c857 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt index b7ac91c4a6..28deb6bc92 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt index 657d4795b4..f963f8b457 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt index a147c095dc..89fd4edd5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt index fd5ee4f743..450ec53151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt index 0cbd563a16..6baa5afdc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt index 9687c5da22..7564f9df96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt index 25b835f1d9..5fda855791 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt index 7c39274572..c44b2b7fee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt index 7df4339a6f..0372e2816d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt index 39e7095024..0d36355745 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt index 95516734d4..59a96eb13c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt index 5101f77056..fe70d0d3ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt index 9bc99af606..b06d0d7994 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt index 820da5b941..2b35b1415d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt index e638e2298a..2b898b9955 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt index d3b1f09610..6f9d827423 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt index d0f5470894..96e64c59ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt index ad5d2e114d..d978bcce1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt index fc3580ba3a..592b4ceb9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt index 7b54004105..23f8c07042 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt index ef6db4e61f..4a9e05eb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt index 177b6df21e..e4bf1d9a80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt index fffee9dca7..bd49d04108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt index a20ad17f47..fb8b171f12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt index 2a1d5bc489..334af40ba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt index 174b6e5fa0..feaf209a85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt index f830fd8ec1..eaba9dd5dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt index 56fd9876d4..31b31184e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt index a9aea80a84..e5c19822f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt index b581596ba6..7bf315e1af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt index b6847d36a9..704a0ec662 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt index 1d607a3cce..4aca2c039b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt index 65316548f0..7c841bbdfc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt index 0195c3cc7b..93df1a2fed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt index 8ef275798b..aa86718c9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt index 9f8cf9957a..00335b8f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt index 82fafdfa09..311e2c445d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt index 00f3349eb2..b03d92f4dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt index 2f77fe0434..72cc369078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt index 6083609f88..21e22c93f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt index 339d95cb41..aeb027c0b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt index 8ccb6557a0..2c5025cd6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt index e4be39911b..c96a4a6e83 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt index 369b5b1019..5522b1a7ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt index f267db9388..80da4c39ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt index c928fc7f3d..73f5385399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt index f9ad2b79d4..d9c8e6cb6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt index dbfca581e3..7e490bac98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt index e66cf8727e..f86f10144d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt index 9cd85edd01..29fcc83d39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt index 49964a2da0..9a51a7e4c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt index 7a553ee19c..71a4ce058f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt index b66112ab7a..7ef7e7d6fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt index 1a03763961..ea57959fbe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt index 8c9c97eb9c..cc126bb316 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt index 91ea4d0ada..14567897bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt index 530ddb70f7..4d75e56780 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt index 73d8158e4b..797967bb88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt index c7698106d9..872a07b1bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt index deff595d67..58ef9008bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt index bc1556d729..408eef5407 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt index 3176caff9b..37078924d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt index 97ffd98af0..5e29430b7a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt index 5869ce0539..8951754a62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt index 5e8ad820b9..7562c468b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt index bf51e611c1..6902b0b1f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt index a325cee122..bdc6484267 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt index d32e4a028e..125707db57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt index e9b6952af5..3f2c744db2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt index 93f61c201b..bae107c84f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt index 80a0355a30..b9310cfd63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt index 2f946875e2..ea2ba05a18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt index a6346f67b0..8a2cb16247 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt index fc7218a8c0..6bb55200cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt index 979cc18f65..29c0edc27d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt index 909d6fb895..4690f64a78 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt index f25fc19613..6e9fc6abf8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt index 7fc45d2027..4e8fff5065 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt index 5e889061e9..bbd9a31ef9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt index 9f88085c36..3f063168cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt index bf6cd0ce5a..868d4bf4e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt index d7597aa4b0..a33e31e82e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt index 356ee97b44..ff00edd12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt index 01e97d84c0..99e1b8f254 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt index 37519e587a..0e054685ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt index bb88edea2a..976c868a4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt index b285be4c39..bd1e7c5ac4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt index c318472faf..b0188f274d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt index 29af62c8fd..e63fa7b8b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt index 3dfc0ebcb4..f2fde1cdfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt index 3133367f8a..d1f652c864 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt index bd60c5807b..938f4b6609 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt index 9c995b4aa2..a0dfca5a47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt index ef09b8a0e0..0f7cdd678e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt index 096f221965..8f09a159af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt index 22f365a75a..fbad0204bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt index c4b79925d7..f3c3aa1438 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt index 7c065beb94..7bd7c928cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt index 69f10ddd28..54a641abe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt index f18b6d136f..a92b8f8566 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt index c3d0f46251..d7e11f9c36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt index df1c7f0e7f..a3cb5750e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt index 4b5033b5ed..33bd510b2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt index b700e28953..627008e2d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt index ff2714b552..bfcd81b707 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt index 1047441327..f8e7594564 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt index ef1a2d16c0..9d854f2635 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt index 0303ef7511..ba9122076c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt index 79d7bfaefa..ccd0d93e36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt index 7cfa8765a5..a98ea6c72c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt index f389d6d419..bbcb665016 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt index 315b0286df..d1c58e8415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt index 812a25b74a..d0a1e18553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt index de330b07a9..98bdc79639 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt index 0fc98b0110..c914c2332c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt index b8ef9609a3..8de5843360 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt index 11c79f4308..0b7f0d60ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt index 917e6ab3a9..81de19eed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt index 940cacf7b9..974112dcfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt index 047cfd8732..53f066bc02 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt index ee566c54aa..bfabbc45c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt index e9b90a7e64..66d48b8db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt index 09c53a1cbf..fd854dab79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt index a579cf9bb1..f8ad24768d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt index 0e69075ad5..912cd4baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt index c4137befa2..07180582e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt index c7def59a58..978e5b029b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt index 374d79670c..0b315fe2c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt index 53bc3ce2cb..b085cd6f94 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt index 1c5404bdca..5a6ea9e12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt index 7cd2d9064f..823b16df31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt index 5561d8a257..d047520cc7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt index a97a81b4ba..e48f4ec62e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt index 46523a49e1..049ebfdfee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt index a1c5c7cbc8..cbfdf20711 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt index b9c0653e12..97d7b99b58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt index 53d38b3c1a..2f7768d47f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt index 82ba703d8b..b0f19397d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt index 6467bfbdfe..ab212292df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt index d53efb41d2..e694aec728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt index 9591dbe98b..bc3b850f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt index 89bb23f6a0..736622f5e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt index bc3e3bf70a..ffe83928a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt index 7705237378..918e5aab6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt index b055d09096..7e982f58ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt index 923830943f..3ad653cc1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt index 829d979a09..ce154c884e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt index 93b2f1b280..978c2424c3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt index 536f69ea92..faaed4edb1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt index 9d3a17b8b3..98104978a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt index 84a7818356..fed864ab19 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt index 93898be438..c183891324 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt index ce25a3bcbd..6911a5d5a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt index 59fd9631a7..00f72680a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt index 4ada3f65bc..85c01b2eef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt index 23b8dd6505..995cf574fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt index 03a98a2ed2..ff43a3b150 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt index d7c8845f71..65afb77d1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt index e119184df3..03bffefaf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt index 18af8abbb0..a1136162bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt index 64f59b1862..0c8c428013 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt index f6d46992a8..314445bf87 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt index e96424c603..6d2fb949f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt index 6339e04248..6523623811 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt index 13c64e429a..6054ed9581 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt index c5469df08d..ec1e3b95db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt index 8302392f1a..121faa3602 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt index 9651bc35d0..30cf264853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt index 2c1d53ce4c..b6dd10ae4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt index b0b44e8e4e..3c31cb7614 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt index 141d74ea1d..e118548865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt index 5cba634421..fbf1c6db93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt index 430ddb76b4..79e7de674f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt index fb5d85b76a..d202cf913d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt index 36e8e4e858..3e647babe3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt index b7a4be54c5..e8f6bbc312 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt index 6d023fb04e..60637f4b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt index 68e700dd50..75bd6d473c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt index 908d7dc96f..f88c97b86a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt index af8372f237..0238f541db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt index f4ac0e282c..7679fdf6b2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt index 402f6d6298..f338e6c4c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt index e92bf39e05..f3814b4a0e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt index 5da03ffa2a..05739afda5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt index af96feb662..3d8bb8a1c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt index 8709f39fba..9e2596ee9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt index 1625cb9972..ea559dcdb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt index 2db627e34a..6b71431b9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt index a4789adc77..5f84a21a76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt index 3499ab49ed..f950bbbc0f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt index 47ef83b66d..68f61870ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt index f8b3c4fcda..4dc3766d49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt index 6215f02e3d..8a241aeded 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt index d10d031f39..c3bd9ae2ba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt index c2f0637ca1..71e428ac3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt index b89c953547..dbe1c93db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt index 8277a2bb8b..cfe5ac2276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt index 40d0134762..58198df26f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt index f8e93b4b70..f84392034b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt index c4883aaf05..2639e5f603 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt index 19d5d8e3d9..a42bdcea0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt index f22d29fba9..443cf1c136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt index 255c32886c..f423e3a43d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt index 80199f7cd9..d946fdd0a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt index 7e47edac9a..7cc6f598d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt index 2675ebe34f..2f36eafcce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt index 26c473eb10..b9fbef2efb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt index bddc3a48db..38cb452613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt index 70b1cfdbd1..9a338d02cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt index b81608b53f..52a004cf42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt index bf24707bb2..255da5f986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt index 2ede00fc8b..0e37a5ad91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt index f52aa66d8a..850db76a24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt index 0e46ac1615..b8aeadb050 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt index e9970de79b..93ef399678 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt index 63934d1524..389a8733c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt index a4c9adb1c7..c2c66f3670 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt index efaa7e60c9..a29d9a11bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt index 2f14e84938..344207138b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt index b778a189e6..6d6f5e155d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt index aeaf3b4163..e906b48115 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt index 32f2beef56..5e42b00806 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt index 858e592bc2..576c8d56a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt index 377903d624..8b2c65fd5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt index 0b5bd71375..79f841b930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt index 41610ad502..5a96f76495 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt index 38e9cba27e..6ca0089960 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt index 83fb0148af..66f1f81f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt index 268edc4ad0..7702af1018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt index da9495902a..216c66701e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt index 0a0f22d767..f1efe7a4af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt index 40e119f6f9..09ccad56ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt index 3604702dc3..51c9956741 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt index 0b0260887f..05d1ece1f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt index aee4421658..9f219bb7d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt index ccba86bae8..4b5817d785 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt index 85e58c2bc5..85b452694b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt index af8757cbfc..938bee9ab0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt index 7765e408c9..3f50850295 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt index cf8f8779b8..402381a6cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt index 7c4d72b54f..90415612cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt index 57de392821..c493d7335f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt index d5937bc44d..9e7c531865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt index 08acf9bd6e..77824f75fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt index 86f1e0c1c6..fd17e9b074 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt index cd7795c42e..609f3f0eba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt index d60192bbb5..7cbe91b2f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt index cb0d361a9b..aee82332dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt index 0aea3c29f6..5c8aeea6f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt index acd0b18005..aabe819f15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt index 6b81112d93..b27b5b0f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt index fba96b0252..0da8d08ce4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt index ea1c36a581..63e949d5b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt index 4e80b9580f..a4d4f216b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt index 9ac65d9a04..02318f0759 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt index d2b79e4a84..4cd7b07993 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt index 4edeea6e9e..ae704a04f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt index 8fcf0ddd92..cc6eaf3d38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt index b53546bb59..b027fdda08 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt index 7c5e53f5bb..4547132a4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt index 33281f5f42..47943c584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt index 08e437b6a7..fc0e16825d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt index e100a43594..eacb5dba4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt index 1b12e0e6d7..b0217868a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt index 34c2c5024e..94f3608eeb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt index 34c5720a45..74d38bf3a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt index 079a64d4e2..8444857779 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt index d3931a1cc4..191fe6fda1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt index e6b2499c9d..cabe6858f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt index 87709e7a72..f3173d3986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt index 4c89930b95..c8fc832bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt index fb1ed50e37..0705d5b9f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt index e2c5161b41..74058760f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt index da5e5c6dc9..b9ef387fac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt index e0d7056455..f6cdb4b7cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt index f5a12e8bf8..6bfb2ed526 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt index 7d4dce3b7c..3486c4f079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt index e50375b50e..b178cb59f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt index 20d2707597..912232c5bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt index 233fccc23d..58b7e3de4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt index 043697b8aa..bbf1588a39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt index 0d7e348702..3ea576597f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt index fdbe64f3d9..9cd7b63b2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt index c4b7875193..4bd4441df9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt index 7e06b883ce..7ccbf86a3a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt index ac59212898..1b50995cf6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt index 94ecebb85a..e38d24b80f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt index bf06237197..ae18d12980 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt index 00f8ce7046..a6b0e9f545 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt index 4b6893691e..da54b2f64d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt index b4f11e21e0..b5c4a2e2c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt index b2774c1c81..12bcbaad80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt index 8c6f6646e2..22217be862 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt index ce15f02cdd..32d2e88843 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt index 0327b1ea94..a104e79425 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt index b4c862b11b..a524f39e24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt index 6a20de9d98..abc692c624 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt index 33233eb3ac..4b9ebc31b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt index cef40c8dba..7671004110 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt index 88bbedd201..89619c0fe5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt index f80f59d620..81f2882925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt index 1f7dca5332..176f7cba3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt index 5818d73fb3..e3e703ba0a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt index cf669e8b12..c7897224cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt index 9f8816caa6..ab30011248 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt index 87b9a4f747..fdc972b9bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt index fa23bd1a7f..8908db3dfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt index cc26bc1282..aa2229b017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt index 4c9c9cf67a..79aa7406cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt index d0bc2b2c73..0df503014a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt index 6b22970f61..372827c778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt index 927d0c5077..d64abff6c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt index 4d5a9a969e..7973315bc9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt index e7e584d708..bec9cff0aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt index ab7e4be2b3..379315bb01 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt index 33fa3f2efd..cecc77c479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt index a864149764..83943c8e6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt index 56b836e5a4..3865cb5fa9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt index 5bef7f0130..73969c7092 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt index c1340fc79c..e80d0a40ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt index 4f2fa3173c..56722dc5fe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt index 46414ff17f..e869c5741d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt index cfc8fab710..58b5047bc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt index fb73267be6..cd6998ba2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt index 43ad9ad6e3..a44027f979 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt index 6f495c1b5a..669af94775 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt index e8763caded..20916e8aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt index 4139bd6479..6181769667 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt index eebb26d9fb..70a6ff11db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt index 661a6d2a82..f07df8795a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt index 704deeac92..8266c8602a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt index 56a8b0fdfb..519067ca74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt index fe1506ef1e..f2d70bbcb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt index cb3ef1f754..e462c055f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt index 60bb19119e..a1e293c0bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt index 77ae1280f8..b324d7c225 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt index b8af507145..20308ea832 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt index c32724f430..2e9a7c86e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt index 22da493f7f..fd46829a2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt index 0d0d390575..066030dd66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt index 1b1caf8daf..30cf9bfb54 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt index bc1087a8f5..4df2c40973 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt index d556ef075e..345770952b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt index 9a678bcd71..fd8570a853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt index 0857734d35..0100392f8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt index e11064b6d9..9cf421510b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt index 5bcf4ddc15..8d64e203d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt index 2c2e95ead8..918dfd3776 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt index 082695ffe1..6339c722dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt index 103d29e0da..7ea3ef541c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt index 28b780bbd6..75b54fc06b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt index 4656e85ced..8d435ba12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt index 3896dd2ae8..9a65ba05b9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt index df9a569672..d57dc41f79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt index 6797cbafd6..cfaa0714c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt index 9177c7d618..008fd15848 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt index 735056358e..9171f1fcac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt index ed07e6f61d..c33bbb6676 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt index 4e0dd38664..c227a9ad4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt index b2c06b2aaf..3649705b8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt index 17a7645988..7c0e431fef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt index 41ccc1c699..24da9f001d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt index 1a4faa9cb6..23635ed84c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt index 4502c836d3..3e78930022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt index 0b9bc20c4b..83e59e341b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt index 278d4331fb..9db122ca33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt index 125ff0cac0..284cc22790 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt index 2021f51007..5ba38c8ace 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt index 2a7c97474c..bcad0350a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt index 8087bcb338..bca1b827d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt index e844603c4d..7c1ee67b0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt index 0a9000e12d..d0c3e91f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt index dbd843a8eb..ecab8bc77c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt index a7c55e7cd1..cbcd168aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt index d4bb39004b..0491760f53 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt index f9af23ec42..f9d933584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt index 918ff81967..c0e8cdd0f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt index 927357cf71..cb765424e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt index 225d8d2b1f..9d953df613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt index eef485c2f8..eac4bb5af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt index cea9cd0ff4..23e4afc82a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt index c5303d52b9..b180c8c036 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt index d8bb5e04d2..c353c0b3e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt index d9c0085063..d0b305d304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt index 18a9711ee5..b270032e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt index 1626a6aa18..37b4c95800 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt index 82db563b84..e3ef96b88f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt index 9f83fe6d00..79894f0394 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt index 40a66e5bcd..309b0c4f3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt index 880956fcb0..8e220152fb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt index 6758b08dad..49b6cab79e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt index be365e4dfc..2f1da93c5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt index 3b38b629bc..2beefc4234 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt index 0ca5c4da13..e50a6a45c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt index 2fca5c8349..4e5d75d693 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt index fc00c53137..1102076383 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt index bca0c37745..f5dc5fbd4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt index 4b7388794c..ae688bc533 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt index 33408efc20..1e5637cce7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt index d8762ee327..70ba378387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt index 95808fa715..beceaff5e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt index d24bf102e4..13381927a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt index e21de0141f..7fd180211a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt index 423aebafe9..3e183a817a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt index 1ef0b8c38c..e36b67baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt index 52663b0fc0..401a8862eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt index 1276c9459d..72f2539815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt index eec269c471..72ef7fc296 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt index 9448ff208b..49f781568d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt index 7d3229d493..22812c24d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt index 27140d81ce..04c5348153 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt index 7af8465f7b..463419b132 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt index e46c27a82d..37a76a8dbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt index 6a5d019734..856a9e2bee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt index 4b5c188df6..b8bf39894e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt index 00ed87e3a3..9bc0e69310 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt index 006a43bea1..15b6a13d4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt index 5bb8763274..ebc06b8bfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt index 1226ca5ba3..4fb49a042a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt index 930a1aaa25..9ff0a2a046 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt index 79830dd207..e4afa93af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt index 6169d0e156..f22c3b14cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt index 3b90751a1d..a8e4c54a51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt index 9d9468cff1..ef5731eb06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt index 2896e23628..719623cb74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt index 93efe63463..3dad964fad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt index edede1fd44..91149f461d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt index eaddcdf1f2..32955b3c5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt index 46f43e43be..d0ee081fe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt index d226b06971..e915e6d0ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt index d85db40e3d..887b078494 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt index 07258e12e9..684db7d553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt index 879f72d0b0..fb31ba16f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt index 275bbc2555..01df0de9d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt index 66c25f146d..2c12153c5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt index f4c7b74db9..7f036a9ee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt index 08a58c3c24..2c3eac0078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt index 54abdf4ac0..c79d0500fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt index 7fb1ed83fb..68c878deaf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt index 7432a13bb4..803961373b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt index 448e17fdf9..07d6f5167e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt index 057dda4b72..acd3976d70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt index edb204e4a3..e40f6ec74f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt index e96ca65a78..5e124dc809 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt index 7831d99022..560c642a67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt index 619a511374..8ced2ca445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt index 28beb1f61e..22ee28d2e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt index 8f05b8e3f7..5451e3f91d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt index 0a0cdc58e3..5d16d2bc2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt index 1e1d97a2ba..4ab896279f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt index e8ebe655a3..fd893cb287 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt index 69596a708a..a33e852af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt index 5823f82907..fbe1bcaf9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt index 0029b220c8..cc33d7729a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt index 9688d752fe..30254e90d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt index 2002b3cc98..da17b323c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt index a7c684d03c..4a760527d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt index 439cbfcf5b..8c4dda2641 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt index 858c5739db..ed876c1fbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt index 7a22f9d3c0..8d47354ac7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt index 01ae38d8cb..1b3b804020 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt index 69539e1a0c..67bbaf7e62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt index 6e6409d3ac..8283bd1c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt index f74a53c903..07c74998cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt index 955cfb6f21..a5612e9b06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt index 3a1ebfb3ff..86a1906782 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt index ea0d6ede2d..c2c6f59d23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt index 96e2b05568..761b289059 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt index 12ea3e4dd3..a7945422ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt index 888946096a..d21c3d300a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt index 292552d22b..5ef79849cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt index bd0e9ce60c..1c63c62ad0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt index 686e3babe5..703c545445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt index b6c208c6a8..f0581a2c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt index 32be4b2ee1..b9dc1dadb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt index f83e416ad9..e59a209b56 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt index 47a034d525..dfdfc9287d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt index 029d3b0520..173e64f623 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt index fbdaa28964..ae95e7b05b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt index dbb432b5f0..b3be01f2cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt index 76f6e6d14b..246138c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt index 02389d222a..647fdb83bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt index 50bebd4e11..4ac0f39d63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt index 79800d5fd1..0535d7d94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt index 478b76ac23..3d9aeff1dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt index d5617d9842..c4038a4e35 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt index 2d92a4e6b2..9b87cb4591 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt index 79566ea132..13c08900dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt index 3cdf431958..17f1bec0ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt index 5dc8befc13..38e4278c86 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt index 6d137084cf..cb87578699 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt index 1809a5bfe5..eb1591699b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt index 5dadfcc5b7..7ab3c90a7e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt index 27d954c795..76578ebff4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt index 0c17fbea2d..c048fb7648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt index b65aa94a7c..cd06d50af1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt index aa5e04bbb1..05c8522467 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt index 6984aeafd8..788a93cc47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt index 451dd44b1b..ebfd3ed9dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt index 4cd2302861..6f4694c02f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt index 47f8242000..f4c2fe7462 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt index 1959ea47b2..626c7e0079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt index 076ce2aead..d73784ba3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt index bb081a6c4b..197c00f6bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt index 97080add08..a051ea8341 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt index 3f295da633..ee99788728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt index 20b688c112..bacddf2136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt index 3b23b9b71a..9eb52d6f5b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt index 4644c97879..aa5864bee5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt index 9ec82df6a7..fbfb12c763 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt index 586b72ceba..b09539f668 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt index e991e6a878..b7c549cf06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt index 020521e2d7..026bc233b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt index a7f9165878..ad2caca6b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt index de5efc6256..ba5c2e3b07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt index ccef73b86a..6286662b9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt index 8f7c715395..c5fb116844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt index 2d8dfe7403..fa5f62ce6a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt index 0df12d3638..a54fa2ee47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt index c0cc8737db..16a4cf887a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt index d3f8329241..ac7a0bceb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt index 57d4e78da0..ab934ff7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt index fe2028ff99..f8f992bb3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt index eea614a0e9..4ff4a61e18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt index 4eaf322fb0..71d908debd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt index af98eb84b0..38793289ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt index 969ed527c1..c7c85661ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt index 6454d40c24..ad353b722e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt index f84d91ef4b..1a983dcc95 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt index 0a1f8996e3..ce655f0bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt index a75df6fc96..266cf4ea8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt index 5eb6af8434..a08167ed69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt index 575c2ae837..65623e4772 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt index d639877bd1..9551df1b70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt index 737bdb622a..548fc1f21b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt index ee0144eefe..6ec4aa14b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt index d1fbe1dc90..b32b18b2b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt index 9f65ed1a5d..eb8c7d9018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt index e3865ceed9..b64022043e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt index 85cce5c9a9..ea0ea4fb5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt index 6de385ecea..8ed3481ddc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt index d335a7b40b..0d1c5e9e1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt index 0198923234..50bb68569f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt index 399ff06b85..c1f8682e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt index 5f966f1203..7649146d36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt index a86c19be58..6d3c00ea89 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt index 239b384b3b..98bde00a6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt index 876130827e..3e2e93562e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt index 243063b9b8..44e9986243 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt index 9087a96b17..8f19f94815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt index f7d18c2400..42593f669c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt index 136d445fab..dfb1f76a43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt index 40488bcb90..ff25ff4e15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt index 60a65be2c8..207cd6151c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt index 498aea236b..d2b1669534 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt index 6b550b8332..34cb115556 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt index 659dda956c..fc332b9010 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt index fe8102ac70..0e74365372 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt index df795a7214..d722210cdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt index 7c6f0a5e5c..8cde27a233 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt index d2beb47c71..716ff9f104 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt index 2d0f59e30f..caa5d702b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt index 4730d23a17..684231670c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt index 275bb4edcc..24f3523fce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt index f465a531e3..acefd3ff41 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt index 4353079382..747a634190 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt index 3e96b60ccc..08631ecef5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt index 84383b078c..9d0d801f93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt index 47ec5904ad..c68c5c1c61 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt index a8e78813fc..265173151f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt index 6140677347..0489c361f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt index 3f8b43291e..a117a158a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt index 5f1307ae42..479beb1d44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt index ab1ce7de75..1de6d43aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt index cd459f00a4..72787e3873 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt index 344114978e..214580f13d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt index 27826f9c9c..f40262e984 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt index 0756949af3..d51fda264e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt index ebf6f334f8..dd66ac18b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt index c0606a35eb..05e24fd1e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt index baa2fff5ee..03789cf888 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt index c70cd4cc66..c560d8de60 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt index 936828ad66..f8f8f28c1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt index 3e35f4d175..73629dff49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt index dd20415132..8a089bd761 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt index de602fc193..43b161f49a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt index 932e247230..1ba72bc30b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt index 9b0f021032..536990f46d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt index 663c159202..ff2c88c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt index d2c96d4e50..cda3dd4b20 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt index cd5175e42c..95de9dd048 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt index a6884c2957..94db6698a0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt index 9d35f25969..61854b0c2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt index 6f4eb13c79..941158b52e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt index 723ca84d3f..f221ac32bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt index fe636ed8a7..14c595756f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt index 330e1172f8..d5e195ff45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt index b2aa22b0c2..3a8350c8bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt index 06101d7bc1..ddb78e9fb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt index a377c05572..691f47a9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt index 714bfcb6cb..ae0aea6c5d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt index c158c43837..4791a1338a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt index 3227d8c8e0..b55dc9c997 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt index c4a00814f4..011f1d4cee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt index d5f544f1a8..de1374e375 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt index cf6f709288..16ae1ab0b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt index 383e8d5cf8..e0e54c0326 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt index be5f6b3b22..79c511c36b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt index 469e03ca45..bceb57e5fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt index 1b16368e32..e0f0ae3361 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt index 90acd774c0..9d796cdf49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt index 0b838ead71..4417f63db4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt index 8d503a91c9..1b4b4e6fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt index 6d202fcf7b..505a088449 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt index 1a63aac344..62aa226057 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt index fe2a20c3c2..87792f0ec9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt index a1b37a330b..eba67416d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt index 17b9e2b5c9..ddddf7dc1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt index e13ec43ed8..70ae937f13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt index 34de5b0b80..5ba0420aef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt index 424d88e08e..fd2bfd75e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt index f0960b0e7d..b4c609c463 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt index 672405a8f7..15937adbbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt index 0a9dcf3e6c..144c0b8c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt index 2d339c561c..426c64773a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt index 5f3b80bb81..961a621b1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt index 2bbe394f3f..8cba8eae40 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt index af0898080f..f0c1c0abe1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt index b960d358bf..a47dd6bee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt index dd6eb9c8e8..efd97d26b8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt index e6ef842e4a..90daf22e9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt index cf8d4087dd..f92c7f4674 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt index 7ec2921af8..a6cbfcfbfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt index d5278fa374..06afad9a79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt index 332d83815a..08ee735cfa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt index ee9c9fcf38..42016d9af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt index c9794a7bd8..8a5bd63e5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt index 325ecb2cf2..fef7918bb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt index a2b3114a81..6d64857d33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt index 49cf398a31..9a75e3ebae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt index 8e52b4bdf2..d5e87cd9b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt index 16adad5931..cd8fad47da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt index afa9f11cd4..6d9bcc21ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt index ee85d5e5e9..ecfb7a2572 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt index 7f769619dd..5d178251f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt index 2da2aae047..93ee5c0491 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt index 7e742d3753..cc68c0db9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt index 830e6dc29f..a82a1e1927 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt index 806b75e1de..5ec9f8ead0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt index efaf3b94e4..9e529a436a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt index 56695bde94..f1051384fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt index b25a5a5a59..d89f8a40a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt index 44a234a398..4d5e1182da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt index 03d8b772c7..11f9cf81ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt index 73a20956ea..1f06b2716c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt index c0d65876b5..8b455f45eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt index 21d764275d..eae21bf861 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt index f32a86f373..e7309ac926 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt index e47858b0e6..2d2e4a04a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt index b65eb787f9..51354549d5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt index e8f55b3b10..9f381455ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt index 87e5e7925f..db8349b1e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt index a8d2363886..1cea4c0085 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt index 2a94ea2967..2d9088f94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt index 46aff9ff54..ae8f33c3c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt index 227675a74d..9962ab601a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt index 324ce79916..e48a24c223 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt index 8693242b4c..bd09b77350 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt index e93fdad334..d7ba359477 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt index c19c7fcba8..c85ceeb121 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt index 401cac2d2f..88b5dc0e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt index aa6b5e4183..abe0f91e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt index 319c37b4bc..a085efd663 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt index b863a31d5d..f6e3a87334 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt index c822aa61a2..35a910dddf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt index b564d72f35..7886010dea 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt index 096701cf34..4e84c211de 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt index 68abbc3429..69db1ad53c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt index b32a30c128..6b29e41f3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt index 7d57184d38..08ad6a8a5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt index d3ebb2d26b..138f9d6ae8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt index 4952c4d2af..08d6083e57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt index 2466e2295d..0cafd735d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt index 3e84804021..bf295f5fcd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt index 862ad70539..16bf237a5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt index ada87c39f2..ea1c7a9ef4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt index e2ed5350ec..f0c49460a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt index 19bc6786c0..84ae8448ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt index 8e295f8755..a0548e7c37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt index 30863a8605..7e63116c93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt index 3b56cb7db8..3ac71cf817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt index 6727522633..2a7487110c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt index a81d172b6b..a9aaf308e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt index 50fcd3469c..46f8c4b6a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt index 87927b110a..9ccf10e0c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt index 0cdd9d34c8..1683da13eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt index 046b5b63d2..6a1ddc721f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt index 5c7157261d..0fa6552384 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt index 7d83413d28..f9369df405 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt index 1e5ff9d9c2..af813e10f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt index 909b5088f5..c0bf060fe4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt index c4661a792f..5a01b6308e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt index a0e133d8ca..23a7f24ba1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt index 453a862136..c83355a841 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt index 449f13ecd4..231f68ba13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt index 542a84c80e..1f5e8d0f14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt index 19b6c9e1da..86f520dbe6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt index f852e85e08..d4e4cf6400 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt index fdd7b16cca..fbfe36ac58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt index 2a8f29788d..631af4699d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt index bb6d325b7f..ebea397a8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt index 5c47def6fa..3d49134e6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt index 0de3affdb8..c3c62a4573 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt index a269d71c64..d19c545bdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt index fe9964dfb9..360ead4fe8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt index b61d555564..bd8a32b4ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt index 04549591a8..fb7d72d5d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt index d4ec2d725b..6983fd07cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt index 9881f91ae1..95c02dc770 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt index aa27fbcf0e..6cea827d82 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt index 07173340d5..8ade7c2ddd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt index dff0907f03..884da8b59f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt index bd6e0e0a40..d120145962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt index 48793db347..9638e8ab24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt index c0170a1ed5..e9c635b395 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt index 156818b29b..6ff7d7ef8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt index 00101ade99..0e994b9743 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt index c9ed0e2616..0edc7f7128 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt index 8162323b8e..b7af737f4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt index c34134dfb5..a069b19fd2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt index ec68f4e9a1..de3a65f7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt index 592980090f..ecddfe9e3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt index a3b1e619d5..c705f85788 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt index f557c0bd71..65b1453de6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt index fb1252221a..c08e62327e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt index 95c2e13f68..7b7aeb7fd8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt index 6ad8b0c187..50a1da9b98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt index 4d7b6b638a..0a31ed46dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt index 6e3f30087d..02b0eaf14e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt index af2b4a002f..2c71989a2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt index 8cca0e39bd..653fab73b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt index 8d549aa6b1..fae568a4bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt index c69fa0ac1c..c4a05b8ed8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt index 56b2991fe9..c11537b468 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt index e2d2b30f96..7bf49d6a17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt index 2462d31f01..bf7aafbd3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt index 719a12433f..ef611d8a31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt index 37d7381409..028bd7e9fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt index 2a871886ac..1dd656fd3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt index 53cce2f399..abc52f25d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt index 9e53f648a1..cc9b36305b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt index 1d0c87c6cb..e66d0719b5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt index 945b7a9cfe..f0018a9cc0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt index 51d6d75987..077cb0452d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt index 81be640fe8..fb35ef7080 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt index 2735957d99..a958e4fd17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt index f4fe6f5739..ea73427e9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt index e01129aa27..4553e699ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt index c46512d552..91641c0b96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt index 1066b0c849..09f1d08f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt index c9140b5dd6..63fff253d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt index 26ddd010c8..e7e99a2d1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt index 77d240c0df..0795833a30 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt index 4f4902050b..a74557c938 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt index 0de6d7cbec..a585b759af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt index 957e4895b3..d36530c4f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt index fcae7c9db6..0c94496a48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt index 767062ef87..17cc85cf69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt index fc5926fbe1..a3a3139a44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt index 9b484fbbdf..11255bfb05 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt index 71dc1b8cfe..6fb4e677d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt index b596fcfb30..8d3e9506df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt index f7643c610a..805d27e9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt index bb2b96b7ff..a00e54a42b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt index 925aba54d5..617b15f2f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt index fa1a8db34b..419ab1bd48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt index cce0dcf259..7a88d7a052 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt index 5e4d01e75f..dbbd3c6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt index 04de1b3cad..eb4647a6c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt index 926b632742..ed7859fb5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt index 0486b9647f..ded344f55a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt index 14b3f76ad3..b42349f06f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt index 7340cad906..c25bc4f4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt index a0552ac5e7..14cd73a978 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt index 045740aeb2..6736994ed3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt index 77c5841672..d4619c42e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt index 06a35b1e35..4bf78469e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt index 1e698da26f..a59a52d399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt index f15385b122..1862c10bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt index bee16622cf..30c3fa34e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt index 47b571e953..55eb281f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt index df765f76ea..5e7c632d51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt index 9945452169..337aba1257 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt index bcb032ca2b..43d418ae48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt index e395ab7972..eebf17cbf1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt index 0ad214dca6..29d9ed57a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt index 568413c911..f7e87dcf4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt index a84f6b8de1..e181d4570c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt index 8092daf264..4fcde70ff5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt index a2460ebd32..f241ce1684 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt index 9544e7dcac..5f7c4bed07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt index 4d4fb338d1..8c3534c4db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt index 36d9d3c063..ab7483ebd0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt index 5091f96b1b..5a9265985a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt index 85383ec01a..0d632a2cce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt index e0eb9e10d4..a5e1d67db5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt index 9e0a032217..61a646d94c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt index 8a8df5fc08..4c9215d213 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt index 744eca299e..964844ebfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt index ba4a110b89..6f255cef42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt index b3afe8abfb..841ec1a471 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt index 76113dbff2..decd673fd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt index dc2cd4b7e9..b3ec8ce5c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt index 3ecb0fff1f..d58940b304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt index 301e6304a4..627af93799 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt index f349900c18..fda57a890f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt index 5178a1764b..a953d36758 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt index 23ba4bfa9b..5618927b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt index 7c1541129d..0052e8cde3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt index 84df48f2da..84383217cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt index 96c1de17c2..668755e68a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt index 47d0429212..9b3432ce3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt index 3c0f2ed72e..d847bfadfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt index 15d5273ecc..017ea5fcef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt index 16995019ff..dcd86cb8bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt index db4e2e99fa..db6755c52b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt index a7d87ef14d..9f61dface2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt index e4fa706ffb..2b18c56fbd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt index 4013ad34e3..22c50bf3b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt index 954b52ba16..ba78a3f778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt index a6157b06e1..a05f90c11e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt index 6b673e3922..8cd0c7b2d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt index 5b2e8c3075..26828681a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt index f99f25a10d..9056a09ca8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt index 4835791907..2c937175fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt index 7d4f4cc2a1..984bc0e012 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt index 2cba5cb565..3479e5ae9c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt index 7286698698..621479b945 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt index c220717604..3c5b17a626 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt index f76aff5dc6..9e2488ff36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt index aca21b9664..81beab652a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt index 0fd4544b50..c71d6bc9d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt index b6a7b651f6..baf284d05a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt index 5d4176dd0b..c4c3dc9f1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt index e9722ddea4..b3c224a479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt index 533a3988b6..c3f04bbca4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt index c9e8e77439..df8330c4a1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt index ccdce437b8..d331746633 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt index c340bc1261..8ef9319ac8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt index b28db6179c..0b592d628a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt index 0438f235d3..369b4a6a32 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt index 2283396d46..d3460ff179 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt index 2945822700..b96203449d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt index 9955a070a8..45dcbf90dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt index cae404e002..ffe597afad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt index 65f7f8557c..4027c4eba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt index 96bf9eb77f..0d9915bb76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt index dcc4e07160..f2698fa582 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt index e9b2ccb1e5..3a71f1a63a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt index 41f4343d88..ff14c7a8c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt index 212293a258..eda305fc13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt index 6908ac9f44..a88bcf351d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt index a0049e7099..52a28d2eed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt index 60c29d0e83..542c7aade4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt index eacfb01961..576815c8f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt index 4457570e89..580676814a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt index c9626dadf6..4f05914d76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt index 439647fb6e..e7273e05ac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt index e8fff79fe4..0e62e224a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt index e408a3464e..07a7e34a69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt index c1970525bc..2e7a110e81 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt index f955c7731b..d0c6e0ecfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt index bd8faa6bc1..253171cad8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt index 264a835dd3..e8cc934017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt index 2a7b8efbca..0446adf50a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt index d988287a83..f6f8e4c58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt index c80068cd47..f279b07b75 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt index 8fe3058be6..610dbb3ce1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt index 98770d1e93..41f3c1c9e7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt index b878639f20..1571e06bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt index f78e727e0b..1b38db6828 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt index a39cce45ab..b0f614f135 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt index a755a09739..11f2ccfe3f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt index 89d62ef2d9..5100b6f415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt index c1d32a0441..e1facd0aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt index 65aadf0d32..7d8032f962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt index 6f2780f08a..6fdf0775df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt index 98901f4c80..3833b7b497 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt index eb6cdb3340..469edc2ba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt index 233f730840..6b0b0a629d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt index e948bac3b9..655a4df0cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt index f74f9c856e..b400190276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt index 68fbf39d8f..2354d9d57a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt index 1e6e2edcc6..ec4e832562 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt index 025ad4056e..804ff7aabc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt index 8bb8f46007..ed46680327 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt index dcdb0ed11b..ae3188b692 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt index 437aedde84..3d7a7570d1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt index 06c2e744a4..86945a8fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt index bf79b41411..11548ce333 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt index 33c6cd3a9a..e250815895 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt index 54672a74b6..a8c565a387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt index d2cf1df2b7..3e3f6f37ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt index 4339e0c593..56daf4d12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt index 07c268d61c..e46cb4ed0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt index fe75211102..386b6e3335 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt index 9fea5cf9e4..4ce22190b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt index 0680045d7b..0fc708fb43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt index c3b4eeb63e..050026a373 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt index 8b2df1c59d..aa71d5dc7f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt index 20ea8e0ca0..8a0a718c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt index 6e658a4873..854cf41aac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt index e4ecab1b39..551ae42544 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt index 8104c5b4c2..a11f318c65 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt index 66d8c3ab14..3a66472cbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt index 369fcc1251..15e98d29d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt index 76b697d8a3..7aac11372f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt index de76c50a3e..16cfbadfab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt index 372180b667..27ec96e158 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt index 9cb7b439d5..b97c75c669 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt index 9a11a526c6..1da710da42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt index a27a4907c3..ac06ad2aed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt index 9365c2d7cd..a9c5e29851 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt index 0f5965ce69..d5899b2f84 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt index 31f6dd0560..53867c0dd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt index 6b8817f629..20fa4889ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt index bef3e17fe2..9974052a70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt index b6d117b76c..4bd8a8105b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt index 944d92e45a..1ba877f14b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt index fd083611e9..5e1b56fb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt index 4b72174d8b..1f81dd617b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt index 16ad6b0368..9897e85757 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt index 77d832d13e..7e628212ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt index cd5ca8f04e..2aaa301d5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt index 4f86b6f197..bfd7443730 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt index 0105df5eff..bf065c8736 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt index 92e52bf714..576b12f72b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt index ac8e77b3df..46e4c4a170 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt index 411c894c59..99e9b8a756 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt index f98a44af87..bb6f88c4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt index 0fdaf63c4d..3292d06151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt index 31caaa7076..82c337ec6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt index eee2c4c29a..aafb784ca5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt index fee510856a..5454c320f6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt index 2399ff741e..b10dcb1387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt index a2b5a6471c..d02f32f78c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt index 8fd5b8e3de..6123300f0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt index 095dad07e8..34dc01c7e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt index 66a1a185f7..deb9b16f22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt index beb9152e3d..ec4387c519 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt index 2f56d5ad38..002fbf20e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt index 76abdb804e..35aaf60b42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt index 33122376d3..20531badf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt index 76d3aa8fe8..cb26602914 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt index 2ff0d644cc..f8bee66a3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt index 02285e8218..e7927a4b12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt index c6764e035a..81c97ca5a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt index 1dd4a88ab3..af55462269 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt index 228c4c7f9f..ed51491236 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt index 405b5b1f0d..ae6cbe9ad7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt index 28b3907f28..9268d7a5dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt index 2b83b340dc..7f323a3648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt index fd2ef8bb13..454d4c635c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt index ddb76760d4..ae0766286a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt index 5b184cad4e..f29c37bb7d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt index cfe3f75d17..9279cfd686 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt index 3da1e47285..2bd386ac2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt index e4838612fd..04195ec7fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt index 0cc064b218..3e4abc7db7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt index 1aed761c36..ff235292fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt index 9b6175cb80..edbb8f7215 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt index db568da39a..aeb6817fb5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt index f59e7a5485..d402df3433 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt index e5c1708b66..c57d6999a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt index 9e89c4cf54..26fd9d7dcf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt index bf4faa9685..5f18a6a8ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt index 4970ff72df..2bb511dc14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt index 8b9cc413e5..afb8876219 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt index 0bd6f183c9..0455ff4459 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt index 30b9a19300..3023f1a5da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt index baadaa45bc..c030f21b22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt index 0da22ac65f..f073bfcb6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt index ce81059b1b..4802c686f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt index 3404e34fbb..4e0314cf10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt index 17b4d1f4f8..286448e0be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt index 3b14296f19..65c47adf77 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt index 69e637299b..fd57ea3834 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt index e9ff2ce035..8c1f03c29a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt index 89a41f02a9..e50420412e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt index eb30f6e26d..12fd29e804 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt index e7c9a3af2e..9a3aa77e0d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt index 36cbeb0211..c65208a7e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt index 58e52feb9d..ddc405a4e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt index 0a2e6694f0..1dc5959d45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt index 8972dccb7f..d6a6e91a06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt index 7d57cfeb62..0f7814b580 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt index b93a7f8681..e4fe9fb2f5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt index fbb098ad33..f756a9b45a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt index 0f48b90a94..3e8cc31ed1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt index 3e7676fd27..25d9345c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt index 4bf373ff11..8197e605f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt index f86e25dc41..945923e8ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt index 7308670020..5bdddb0ed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt index eebb955eae..2944161485 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt index cb111ce79e..1611db83f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt index 2880a87873..5d9c2e5c68 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt index f2b67a85a4..f01d526357 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt index 6fea5c4d8e..392a3b9f6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt index fb8dcadb12..6d6949a977 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt index be8ad5847b..0347b3edd7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt index da47d29bfe..108df006fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt index c7177686c7..f6e97ea813 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt index e8bd918fbf..affb962695 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt index 929f4956b0..92d93cefd1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt index f05f7f5001..7d4c43a58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt index c8df5462bd..aec6d0cdd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt index 3a4b5feea0..4703eab957 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt index 66a338eaea..4a07d67503 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt index 0f43c7c95a..0c94e845ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt index 2272658634..ce7240c007 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt index ce07c69b35..1057ce15ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt index 601ae92781..ffc12579ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt index da5669950e..20cbc9b925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt index dd0da37283..382b273f8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt index 2ed78afb80..9b2dce6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt index 846deabef6..f27f37ccda 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt index 123d863ad2..15dcea2940 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt index 2823178455..fab61d9108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt index f38b839d29..a53209be59 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt index a1355a6852..54a3b8a72e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt index 0f2f306c0b..1832a304bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt index 8bb050fed6..984bc471e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt index 1e1bd718ca..cb95a999ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt index 4c1b09c92a..b79e174713 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt index 20ee325bc5..b7b30f1f91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt index 04d7be4e6a..75fe7ca66f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt index ff813fc307..2fd2749da6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt index 094ad5a1e2..21aef70f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt index 3249378549..e10004f752 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt index 8afbe3c9dc..2a79bc1a10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt index ea346d51fc..0364810eec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt index 137a8d147f..fe4a1abbcb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt index d8a077eb1a..2deaa5e444 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt index 3af7e70670..bb01bfd2c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt index 7a09f31a17..0e1a405bc4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt index 8faa0752dc..9e0da52930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt index 50db77e9a3..65a5bb19f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt index 8568cbe563..5f71acd6aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt index 3caac5b6c1..ef9acd11e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt index 706f74d115..f685d30c66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt index 5372f62ae3..926658f1bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt index 845f86b611..2a886d95ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt index e330d47b57..de477aa38d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt index 03fa2db5d3..3159ec4019 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt index 9264f3e006..cbc064ab18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt index 051c9371ee..a05dfc9afd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt index ba9d3f3acf..0e39cd2844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt index ba5290f6df..dcdacbe022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt index 6a05d3e414..78fd1aeba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt index e4f17009f1..7ae4c4ee49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt index 7f65abdaf8..34121a9c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt index b56486dd7d..2f0e95222f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt index 2b622a3628..af39fd4bac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt index e83bd02af6..98d3d2001b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt index 9e2f65c14e..9e92a2e3b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt index 864685536e..1adb151014 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt index 84886ab39f..9e3a5a4a2a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt index d0f27e0248..1baeac47ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt index 76547cd457..1990b4cb1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt index fbc646530c..f33c23de38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt index a830ceaa9b..7aa1898edc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt index 37296e808d..3e7e8d44be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt index 2a377b830b..c7c0ec809f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt index 395202058b..25dea5c2e1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt index 6c000cb4c8..49a21e7fd6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt index 3e9566d413..85b0d92629 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt index e3aabb078a..0920a1b817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt index f85744acb8..21b71c65d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt index 60e5a17977..51a054e072 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt index e29d15c655..a04569c857 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt index b7ac91c4a6..28deb6bc92 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt index 657d4795b4..f963f8b457 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt index a147c095dc..89fd4edd5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt index fd5ee4f743..450ec53151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt index 0cbd563a16..6baa5afdc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt index 9687c5da22..7564f9df96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt index 25b835f1d9..5fda855791 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt index 7c39274572..c44b2b7fee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt index 7df4339a6f..0372e2816d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt index 39e7095024..0d36355745 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt index 95516734d4..59a96eb13c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt index 5101f77056..fe70d0d3ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt index 9bc99af606..b06d0d7994 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt index 820da5b941..2b35b1415d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt index e638e2298a..2b898b9955 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt index d3b1f09610..6f9d827423 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt index d0f5470894..96e64c59ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt index ad5d2e114d..d978bcce1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt index fc3580ba3a..592b4ceb9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt index 7b54004105..23f8c07042 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt index ef6db4e61f..4a9e05eb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt index 177b6df21e..e4bf1d9a80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt index fffee9dca7..bd49d04108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt index a20ad17f47..fb8b171f12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt index 2a1d5bc489..334af40ba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt index 174b6e5fa0..feaf209a85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt index f830fd8ec1..eaba9dd5dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt index 56fd9876d4..31b31184e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt index a9aea80a84..e5c19822f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt index b581596ba6..7bf315e1af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt index b6847d36a9..704a0ec662 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt index 1d607a3cce..4aca2c039b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt index 65316548f0..7c841bbdfc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt index 0195c3cc7b..93df1a2fed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt index 8ef275798b..aa86718c9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt index 9f8cf9957a..00335b8f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt index 82fafdfa09..311e2c445d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt index 00f3349eb2..b03d92f4dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt index 2f77fe0434..72cc369078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt index 6083609f88..21e22c93f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt index 339d95cb41..aeb027c0b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt index 8ccb6557a0..2c5025cd6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt index e4be39911b..c96a4a6e83 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt index 369b5b1019..5522b1a7ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt index f267db9388..80da4c39ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt index c928fc7f3d..73f5385399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt index f9ad2b79d4..d9c8e6cb6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt index dbfca581e3..7e490bac98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt index e66cf8727e..f86f10144d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt index 9cd85edd01..29fcc83d39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt index 49964a2da0..9a51a7e4c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt index 7a553ee19c..71a4ce058f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt index b66112ab7a..7ef7e7d6fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt index 1a03763961..ea57959fbe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt index 8c9c97eb9c..cc126bb316 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt index 91ea4d0ada..14567897bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt index 530ddb70f7..4d75e56780 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt index 73d8158e4b..797967bb88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt index c7698106d9..872a07b1bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt index deff595d67..58ef9008bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt index bc1556d729..408eef5407 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt index 3176caff9b..37078924d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt index 97ffd98af0..5e29430b7a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt index 5869ce0539..8951754a62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt index 5e8ad820b9..7562c468b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt index bf51e611c1..6902b0b1f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt index a325cee122..bdc6484267 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt index d32e4a028e..125707db57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt index e9b6952af5..3f2c744db2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt index 93f61c201b..bae107c84f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt index 80a0355a30..b9310cfd63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt index 2f946875e2..ea2ba05a18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt index a6346f67b0..8a2cb16247 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt index fc7218a8c0..6bb55200cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt index 979cc18f65..29c0edc27d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt index 909d6fb895..4690f64a78 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt index f25fc19613..6e9fc6abf8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt index 7fc45d2027..4e8fff5065 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt index 5e889061e9..bbd9a31ef9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt index 9f88085c36..3f063168cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt index bf6cd0ce5a..868d4bf4e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt index d7597aa4b0..a33e31e82e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt index 356ee97b44..ff00edd12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt index 01e97d84c0..99e1b8f254 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt index 37519e587a..0e054685ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt index bb88edea2a..976c868a4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt index b285be4c39..bd1e7c5ac4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt index c318472faf..b0188f274d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt index 29af62c8fd..e63fa7b8b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt index 3dfc0ebcb4..f2fde1cdfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt index 3133367f8a..d1f652c864 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt index bd60c5807b..938f4b6609 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt index 9c995b4aa2..a0dfca5a47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt index ef09b8a0e0..0f7cdd678e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt index 096f221965..8f09a159af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt index 22f365a75a..fbad0204bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt index c4b79925d7..f3c3aa1438 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt index 7c065beb94..7bd7c928cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt index 69f10ddd28..54a641abe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt index f18b6d136f..a92b8f8566 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt index c3d0f46251..d7e11f9c36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt index df1c7f0e7f..a3cb5750e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt index 4b5033b5ed..33bd510b2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt index b700e28953..627008e2d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt index ff2714b552..bfcd81b707 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt index 1047441327..f8e7594564 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt index ef1a2d16c0..9d854f2635 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt index 0303ef7511..ba9122076c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt index 79d7bfaefa..ccd0d93e36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt index 7cfa8765a5..a98ea6c72c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt index f389d6d419..bbcb665016 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt index 315b0286df..d1c58e8415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt index 812a25b74a..d0a1e18553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt index de330b07a9..98bdc79639 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt index 0fc98b0110..c914c2332c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt index b8ef9609a3..8de5843360 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt index 11c79f4308..0b7f0d60ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt index 917e6ab3a9..81de19eed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt index 940cacf7b9..974112dcfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt index 047cfd8732..53f066bc02 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt index ee566c54aa..bfabbc45c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt index e9b90a7e64..66d48b8db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt index 09c53a1cbf..fd854dab79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt index a579cf9bb1..f8ad24768d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt index 0e69075ad5..912cd4baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt index c4137befa2..07180582e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt index c7def59a58..978e5b029b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt index 374d79670c..0b315fe2c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt index 53bc3ce2cb..b085cd6f94 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt index 1c5404bdca..5a6ea9e12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt index 7cd2d9064f..823b16df31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt index 5561d8a257..d047520cc7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt index a97a81b4ba..e48f4ec62e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt index 46523a49e1..049ebfdfee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt index a1c5c7cbc8..cbfdf20711 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt index b9c0653e12..97d7b99b58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt index 53d38b3c1a..2f7768d47f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt index 82ba703d8b..b0f19397d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt index 6467bfbdfe..ab212292df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt index d53efb41d2..e694aec728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt index 9591dbe98b..bc3b850f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt index 89bb23f6a0..736622f5e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt index bc3e3bf70a..ffe83928a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt index 7705237378..918e5aab6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt index b055d09096..7e982f58ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt index 923830943f..3ad653cc1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt index 829d979a09..ce154c884e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt index 93b2f1b280..978c2424c3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt index 536f69ea92..faaed4edb1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt index 9d3a17b8b3..98104978a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt index 84a7818356..fed864ab19 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt index 93898be438..c183891324 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt index ce25a3bcbd..6911a5d5a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt index 59fd9631a7..00f72680a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt index 4ada3f65bc..85c01b2eef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt index 23b8dd6505..995cf574fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt index 03a98a2ed2..ff43a3b150 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt index d7c8845f71..65afb77d1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt index e119184df3..03bffefaf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt index 18af8abbb0..a1136162bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt index 64f59b1862..0c8c428013 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt index f6d46992a8..314445bf87 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt index e96424c603..6d2fb949f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt index 6339e04248..6523623811 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt index 13c64e429a..6054ed9581 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt index c5469df08d..ec1e3b95db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt index 8302392f1a..121faa3602 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt index 9651bc35d0..30cf264853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt index 2c1d53ce4c..b6dd10ae4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt index b0b44e8e4e..3c31cb7614 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt index 141d74ea1d..e118548865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt index 5cba634421..fbf1c6db93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt index 430ddb76b4..79e7de674f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt index fb5d85b76a..d202cf913d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt index 36e8e4e858..3e647babe3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt index b7a4be54c5..e8f6bbc312 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt index 6d023fb04e..60637f4b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt index 68e700dd50..75bd6d473c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt index 908d7dc96f..f88c97b86a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt index af8372f237..0238f541db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt index f4ac0e282c..7679fdf6b2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt index 402f6d6298..f338e6c4c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt index e92bf39e05..f3814b4a0e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt index 5da03ffa2a..05739afda5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt index af96feb662..3d8bb8a1c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt index 8709f39fba..9e2596ee9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt index 1625cb9972..ea559dcdb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt index 2db627e34a..6b71431b9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt index a4789adc77..5f84a21a76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt index 3499ab49ed..f950bbbc0f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt index 47ef83b66d..68f61870ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt index f8b3c4fcda..4dc3766d49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt index 6215f02e3d..8a241aeded 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt index d10d031f39..c3bd9ae2ba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt index c2f0637ca1..71e428ac3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt index b89c953547..dbe1c93db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt index 8277a2bb8b..cfe5ac2276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt index 40d0134762..58198df26f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt index f8e93b4b70..f84392034b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt index c4883aaf05..2639e5f603 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt index 19d5d8e3d9..a42bdcea0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt index f22d29fba9..443cf1c136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt index 255c32886c..f423e3a43d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt index 80199f7cd9..d946fdd0a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt index 7e47edac9a..7cc6f598d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt index 2675ebe34f..2f36eafcce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt index 26c473eb10..b9fbef2efb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt index bddc3a48db..38cb452613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt index 70b1cfdbd1..9a338d02cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt index b81608b53f..52a004cf42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt index bf24707bb2..255da5f986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt index 2ede00fc8b..0e37a5ad91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt index f52aa66d8a..850db76a24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt index 0e46ac1615..b8aeadb050 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt index e9970de79b..93ef399678 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt index 63934d1524..389a8733c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt index a4c9adb1c7..c2c66f3670 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt index efaa7e60c9..a29d9a11bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt index 2f14e84938..344207138b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt index b778a189e6..6d6f5e155d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt index aeaf3b4163..e906b48115 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt index 32f2beef56..5e42b00806 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt index 858e592bc2..576c8d56a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt index 377903d624..8b2c65fd5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt index 0b5bd71375..79f841b930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt index 41610ad502..5a96f76495 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt index 38e9cba27e..6ca0089960 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt index 83fb0148af..66f1f81f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt index 268edc4ad0..7702af1018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt index da9495902a..216c66701e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt index 0a0f22d767..f1efe7a4af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt index 40e119f6f9..09ccad56ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt index 3604702dc3..51c9956741 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt index 0b0260887f..05d1ece1f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt index aee4421658..9f219bb7d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt index ccba86bae8..4b5817d785 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt index 85e58c2bc5..85b452694b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt index af8757cbfc..938bee9ab0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt index 7765e408c9..3f50850295 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt index cf8f8779b8..402381a6cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt index 7c4d72b54f..90415612cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt index 57de392821..c493d7335f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt index d5937bc44d..9e7c531865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt index 08acf9bd6e..77824f75fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt index 86f1e0c1c6..fd17e9b074 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt index cd7795c42e..609f3f0eba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt index d60192bbb5..7cbe91b2f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt index cb0d361a9b..aee82332dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt index 0aea3c29f6..5c8aeea6f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt index acd0b18005..aabe819f15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt index 6b81112d93..b27b5b0f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt index fba96b0252..0da8d08ce4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt index ea1c36a581..63e949d5b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt index 4e80b9580f..a4d4f216b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt index 9ac65d9a04..02318f0759 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt index d2b79e4a84..4cd7b07993 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt index 4edeea6e9e..ae704a04f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt index 8fcf0ddd92..cc6eaf3d38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt index b53546bb59..b027fdda08 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt index 7c5e53f5bb..4547132a4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt index 33281f5f42..47943c584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt index 08e437b6a7..fc0e16825d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt index e100a43594..eacb5dba4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt index 1b12e0e6d7..b0217868a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt index 34c2c5024e..94f3608eeb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt index 34c5720a45..74d38bf3a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt index 079a64d4e2..8444857779 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt index d3931a1cc4..191fe6fda1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt index e6b2499c9d..cabe6858f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt index 87709e7a72..f3173d3986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt index 4c89930b95..c8fc832bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt index fb1ed50e37..0705d5b9f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt index e2c5161b41..74058760f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt index da5e5c6dc9..b9ef387fac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt index e0d7056455..f6cdb4b7cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt index f5a12e8bf8..6bfb2ed526 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt index 7d4dce3b7c..3486c4f079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt index e50375b50e..b178cb59f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt index 20d2707597..912232c5bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt index 233fccc23d..58b7e3de4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt index 043697b8aa..bbf1588a39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt index 0d7e348702..3ea576597f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt index fdbe64f3d9..9cd7b63b2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt index c4b7875193..4bd4441df9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt index 7e06b883ce..7ccbf86a3a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt index ac59212898..1b50995cf6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt index 94ecebb85a..e38d24b80f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt index bf06237197..ae18d12980 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt index 00f8ce7046..a6b0e9f545 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt index 4b6893691e..da54b2f64d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt index b4f11e21e0..b5c4a2e2c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt index b2774c1c81..12bcbaad80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt index 8c6f6646e2..22217be862 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt index ce15f02cdd..32d2e88843 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt index 0327b1ea94..a104e79425 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt index b4c862b11b..a524f39e24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt index 6a20de9d98..abc692c624 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt index 33233eb3ac..4b9ebc31b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt index cef40c8dba..7671004110 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt index 88bbedd201..89619c0fe5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt index f80f59d620..81f2882925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt index 1f7dca5332..176f7cba3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt index 5818d73fb3..e3e703ba0a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt index cf669e8b12..c7897224cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt index 9f8816caa6..ab30011248 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt index 87b9a4f747..fdc972b9bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt index fa23bd1a7f..8908db3dfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt index cc26bc1282..aa2229b017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt index 4c9c9cf67a..79aa7406cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt index d0bc2b2c73..0df503014a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt index 6b22970f61..372827c778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt index 927d0c5077..d64abff6c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt index 4d5a9a969e..7973315bc9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt index e7e584d708..bec9cff0aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt index ab7e4be2b3..379315bb01 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt index 33fa3f2efd..cecc77c479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt index a864149764..83943c8e6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt index 56b836e5a4..3865cb5fa9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt index 5bef7f0130..73969c7092 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt index c1340fc79c..e80d0a40ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt index 4f2fa3173c..56722dc5fe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt index 46414ff17f..e869c5741d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt index cfc8fab710..58b5047bc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt index fb73267be6..cd6998ba2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt index 43ad9ad6e3..a44027f979 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt index 6f495c1b5a..669af94775 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt index e8763caded..20916e8aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt index 4139bd6479..6181769667 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt index eebb26d9fb..70a6ff11db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt index 661a6d2a82..f07df8795a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt index 704deeac92..8266c8602a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt index 56a8b0fdfb..519067ca74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt index fe1506ef1e..f2d70bbcb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt index cb3ef1f754..e462c055f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt index 60bb19119e..a1e293c0bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt index 77ae1280f8..b324d7c225 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt index b8af507145..20308ea832 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt index c32724f430..2e9a7c86e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt index 22da493f7f..fd46829a2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt index 0d0d390575..066030dd66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt index 1b1caf8daf..30cf9bfb54 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt index bc1087a8f5..4df2c40973 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt index d556ef075e..345770952b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt index 9a678bcd71..fd8570a853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt index 0857734d35..0100392f8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v8.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt index e11064b6d9..9cf421510b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_002d5cd48fe758aa.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt index 5bcf4ddc15..8d64e203d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_003d2d0cb66151e4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt index 2c2e95ead8..918dfd3776 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_00e96f66fdf0ffcd.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt index 082695ffe1..6339c722dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0116620100e4fd9a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt index 103d29e0da..7ea3ef541c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_012fbd76e82e3f04.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt index 28b780bbd6..75b54fc06b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_013db1f2eef4f91e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt index 4656e85ced..8d435ba12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_01401de07f3182bc.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt index 3896dd2ae8..9a65ba05b9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0289f598fd443b1b.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt index df9a569672..d57dc41f79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02a550ee02020578.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt index 6797cbafd6..cfaa0714c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_02e20d7371e19230.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt index 9177c7d618..008fd15848 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03359f6288338ab7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt index 735056358e..9171f1fcac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03822c9f0e7deb11.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt index ed07e6f61d..c33bbb6676 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03f8e839d8e284cb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt index 4e0dd38664..c227a9ad4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_03fc21edf421ede7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt index b2c06b2aaf..3649705b8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_040f1bd3bf23f4fb.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt index 17a7645988..7c0e431fef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_042a5ffde11af2ec.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt index 41ccc1c699..24da9f001d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04677d6c7f10ed16.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt index 1a4faa9cb6..23635ed84c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0491737f093e26d7.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt index 4502c836d3..3e78930022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04a077b65b8f5d8b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt index 0b9bc20c4b..83e59e341b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04b7c83e89b12fd3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt index 278d4331fb..9db122ca33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_04ea23c5595cb8e3.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt index 125ff0cac0..284cc22790 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_050c26fae61c53ab.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt index 2021f51007..5ba38c8ace 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0519fccfe1fe9064.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt index 2a7c97474c..bcad0350a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0551d8ef7b81bc47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt index 8087bcb338..bca1b827d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05a3572c175fa848.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt index e844603c4d..7c1ee67b0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05ec053f3ab84d9f.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt index 0a9000e12d..d0c3e91f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_05eed801871b7f26.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt index dbd843a8eb..ecab8bc77c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0607d7304535f83e.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt index a7c55e7cd1..cbcd168aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_06321a22058a68d4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt index d4bb39004b..0491760f53 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0679898d7724c514.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt index f9af23ec42..f9d933584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_069111ded709ffca.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt index 918ff81967..c0e8cdd0f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07152ddef446017a.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt index 927357cf71..cb765424e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_074a789fc2cbeb86.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt index 225d8d2b1f..9d953df613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0785770b3467d282.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt index eef485c2f8..eac4bb5af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793e334fc6ef863.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt index cea9cd0ff4..23e4afc82a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0793f8891f5a59e8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt index c5303d52b9..b180c8c036 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_07b2e0ae432f019d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt index d8bb5e04d2..c353c0b3e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08412de94ddea904.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt index d9c0085063..d0b305d304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_086efd374d152dbb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt index 18a9711ee5..b270032e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08b8c765370bf76f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt index 1626a6aa18..37b4c95800 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_08d4579b70b3647d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt index 82db563b84..e3ef96b88f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_092e0e87f53882f7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt index 9f83fe6d00..79894f0394 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09a9f0db4d759d83.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt index 40a66e5bcd..309b0c4f3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_09b82a466b556566.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt index 880956fcb0..8e220152fb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a52ec62740f823d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt index 6758b08dad..49b6cab79e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0a77c43e358be007.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt index be365e4dfc..2f1da93c5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ac0d75b00e21cb0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt index 3b38b629bc..2beefc4234 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b3f34a186230f44.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt index 0ca5c4da13..e50a6a45c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b5d4e46ebad4197.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt index 2fca5c8349..4e5d75d693 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0b6e67ae1cb364fe.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt index fc00c53137..1102076383 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ba3a6ca2f09968a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt index bca0c37745..f5dc5fbd4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0bf9f05aeeca580b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt index 4b7388794c..ae688bc533 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c2e5b75af6993eb.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt index 33408efc20..1e5637cce7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c8541f90aea6b2c.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt index d8762ee327..70ba378387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0c9cc8c523e2ebea.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt index 95808fa715..beceaff5e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ca4e7c909c44b49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt index d24bf102e4..13381927a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cbed81ce9504056.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt index e21de0141f..7fd180211a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cc8450968f9655d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt index 423aebafe9..3e183a817a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0cfb36f44b91cc38.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt index 1ef0b8c38c..e36b67baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0d5171e1a3727069.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt index 52663b0fc0..401a8862eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0da638765ae76b89.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt index 1276c9459d..72f2539815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0dfa408cb6b487b4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt index eec269c471..72ef7fc296 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e18d99e6a1f2348.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt index 9448ff208b..49f781568d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e4957a856d8d6de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt index 7d3229d493..22812c24d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e52a77cc61be994.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt index 27140d81ce..04c5348153 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0e9f3301e1b2f672.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt index 7af8465f7b..463419b132 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0eaa64f365d9f429.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt index e46c27a82d..37a76a8dbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f297fc605923a63.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt index 6a5d019734..856a9e2bee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0f69a961dd7177e4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt index 4b5c188df6..b8bf39894e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_0ff0c1b0efdd99c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt index 00ed87e3a3..9bc0e69310 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1006547a16547362.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt index 006a43bea1..15b6a13d4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1237a03d2bec9c92.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt index 5bb8763274..ebc06b8bfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_123e571821f25081.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt index 1226ca5ba3..4fb49a042a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_128a02ef0549fe75.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt index 930a1aaa25..9ff0a2a046 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12925dcaca6c433b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt index 79830dd207..e4afa93af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_12b2fc91218bf5c4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt index 6169d0e156..f22c3b14cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_134f65bf8b5cb5dc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt index 3b90751a1d..a8e4c54a51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13f5f51e3c483872.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt index 9d9468cff1..ef5731eb06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_13fe4c05ea4ca97c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt index 2896e23628..719623cb74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14195d4389bdaec6.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt index 93efe63463..3dad964fad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14303f6b3e552f47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt index edede1fd44..91149f461d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_143071b0865c202b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt index eaddcdf1f2..32955b3c5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_145b8f8d82dca22a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt index 46f43e43be..d0ee081fe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_147b0e6c90d98234.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt index d226b06971..e915e6d0ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_148c44a1028b0928.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt index d85db40e3d..887b078494 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_14dc0f676341b93f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt index 07258e12e9..684db7d553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_150e1a500f327d5c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt index 879f72d0b0..fb31ba16f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15165ee14034943c.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt index 275bbc2555..01df0de9d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_153c9cc5b072b167.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt index 66c25f146d..2c12153c5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15680a9d68dddabc.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt index f4c7b74db9..7f036a9ee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15a64028ce46ef19.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt index 08a58c3c24..2c3eac0078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_15ef77dd832e2466.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt index 54abdf4ac0..c79d0500fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1632a22c6349ee7c.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt index 7fb1ed83fb..68c878deaf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1645ee38b69740c7.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt index 7432a13bb4..803961373b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17045035b52a9e97.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt index 448e17fdf9..07d6f5167e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_171b2fff6e43628b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt index 057dda4b72..acd3976d70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1771f89988907e67.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt index edb204e4a3..e40f6ec74f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17828df9ca09212a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt index e96ca65a78..5e124dc809 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17aecd2811eb19d4.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt index 7831d99022..560c642a67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_17c4ed9b9d22b6a3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt index 619a511374..8ced2ca445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_182258d3a7058d60.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt index 28beb1f61e..22ee28d2e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1844f4d95b814b66.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt index 8f05b8e3f7..5451e3f91d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_186d320a5776cafe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt index 0a0cdc58e3..5d16d2bc2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18db0facb56c1399.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt index 1e1d97a2ba..4ab896279f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f2eca141bb267a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt index e8ebe655a3..fd893cb287 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_18f873c652aac6b9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt index 69596a708a..a33e852af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1900a16b8c80fb3c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt index 5823f82907..fbe1bcaf9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_193c2e2ffa8f0890.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt index 0029b220c8..cc33d7729a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_196fb57a9e519a45.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt index 9688d752fe..30254e90d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19730e4040f30912.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt index 2002b3cc98..da17b323c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199dd5c833602d61.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt index a7c684d03c..4a760527d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_199e53d80f5953ea.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt index 439cbfcf5b..8c4dda2641 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19a0fc5e1a1214ff.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt index 858c5739db..ed876c1fbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_19fc354a35ba2f31.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt index 7a22f9d3c0..8d47354ac7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a33fdad9019ef8c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt index 01ae38d8cb..1b3b804020 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a8a311eb41a5103.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt index 69539e1a0c..67bbaf7e62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1a9aea462c583783.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt index 6e6409d3ac..8283bd1c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b02354eb9e85de6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt index f74a53c903..07c74998cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b53037f09c40944.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt index 955cfb6f21..a5612e9b06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b5ede882203b8bc.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt index 3a1ebfb3ff..86a1906782 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1b81bad1e978483e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt index ea0d6ede2d..c2c6f59d23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1beffee6bc74528f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt index 96e2b05568..761b289059 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c177d6b1e0c8284.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt index 12ea3e4dd3..a7945422ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c6dbc2accdc3f5d.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt index 888946096a..d21c3d300a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1c8865781948d226.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt index 292552d22b..5ef79849cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ca9311064bc1f6f.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt index bd0e9ce60c..1c63c62ad0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1cbd715b0cfbd2da.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt index 686e3babe5..703c545445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ce1eabdbaee8704.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt index b6c208c6a8..f0581a2c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d36007a9b4243f6.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt index 32be4b2ee1..b9dc1dadb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1d5fac774b696c4a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt index f83e416ad9..e59a209b56 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1db349b21f4c3a16.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt index 47a034d525..dfdfc9287d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ddd033b86aecbcf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt index 029d3b0520..173e64f623 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e0b1c90ff000478.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt index fbdaa28964..ae95e7b05b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e459c5e4a6c783e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt index dbb432b5f0..b3be01f2cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e6e87b2bbce0cec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt index 76f6e6d14b..246138c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1e8225ee5daa3e10.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt index 02389d222a..647fdb83bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1ea649ddc12d2ad0.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt index 50bebd4e11..4ac0f39d63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f1c799434426d5a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt index 79800d5fd1..0535d7d94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1f8a564b588cd2a3.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt index 478b76ac23..3d9aeff1dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_1fee4120bb9d2612.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt index d5617d9842..c4038a4e35 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20039b8285b3422b.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt index 2d92a4e6b2..9b87cb4591 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20275015aea2f4cf.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt index 79566ea132..13c08900dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2047df92b15f26ac.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt index 3cdf431958..17f1bec0ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2056840d5f5891ef.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt index 5dc8befc13..38e4278c86 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_207ab1271e0cb6ff.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt index 6d137084cf..cb87578699 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_208ce209b700183f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt index 1809a5bfe5..eb1591699b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_20951901d0e8cf1f.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt index 5dadfcc5b7..7ab3c90a7e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_213191bfdaf92b61.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt index 27d954c795..76578ebff4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_215fd6848e5070ac.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt index 0c17fbea2d..c048fb7648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21942cf39e1218a1.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt index b65aa94a7c..cd06d50af1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21be4882bdc170f6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt index aa5e04bbb1..05c8522467 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21c26092f827f96f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt index 6984aeafd8..788a93cc47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d03f7364f0bc0c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt index 451dd44b1b..ebfd3ed9dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_21d7861cdbb4fcc7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt index 4cd2302861..6f4694c02f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_228316522d7b41b7.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt index 47f8242000..f4c2fe7462 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22af69314c41f8ed.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt index 1959ea47b2..626c7e0079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22e8a7a673050219.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt index 076ce2aead..d73784ba3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_22f2fddf8bd7e38c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt index bb081a6c4b..197c00f6bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_235169cd793f8073.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt index 97080add08..a051ea8341 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23c7cba46cbcf30a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt index 3f295da633..ee99788728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_23f02e762c0600f3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt index 20b688c112..bacddf2136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_247a2c57ff814a0f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt index 3b23b9b71a..9eb52d6f5b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2529c0cafdc91179.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt index 4644c97879..aa5864bee5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2564e7908ed9dd7b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt index 9ec82df6a7..fbfb12c763 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_259d6867a8ed6171.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt index 586b72ceba..b09539f668 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_25fb69ea149c90c9.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt index e991e6a878..b7c549cf06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_260922a3e0d8581d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt index 020521e2d7..026bc233b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_261c870f0d111ba4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt index a7f9165878..ad2caca6b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2645194458be46c0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt index de5efc6256..ba5c2e3b07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26611301a98bed1f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt index ccef73b86a..6286662b9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_26b5d436d596c154.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt index 8f7c715395..c5fb116844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_271e3f56b631901b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt index 2d8dfe7403..fa5f62ce6a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2744efb4c154b799.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt index 0df12d3638..a54fa2ee47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_278fdfe4440baaca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt index c0cc8737db..16a4cf887a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_281014695868ced4.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt index d3f8329241..ac7a0bceb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28304c74c8cfa75d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt index 57d4e78da0..ab934ff7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2852cf494b22cd28.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt index fe2028ff99..f8f992bb3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_286c122a8fea7156.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt index eea614a0e9..4ff4a61e18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2874b51ad7347d6b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt index 4eaf322fb0..71d908debd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28d3d747f0b9552e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt index af98eb84b0..38793289ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_28e9037259018983.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt index 969ed527c1..c7c85661ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_292eade54209a223.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt index 6454d40c24..ad353b722e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29399418218bed92.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt index f84d91ef4b..1a983dcc95 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_295269260cb69114.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt index 0a1f8996e3..ce655f0bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_29ab68e235c1ec2f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt index a75df6fc96..266cf4ea8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a2224cec9866976.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt index 5eb6af8434..a08167ed69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a4b5767b0858093.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt index 575c2ae837..65623e4772 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a7209565afdb641.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt index d639877bd1..9551df1b70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2a8d5fcbf3859063.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt index 737bdb622a..548fc1f21b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2accadc708086ab1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt index ee0144eefe..6ec4aa14b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2aeb892fab480136.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt index d1fbe1dc90..b32b18b2b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2b2620d8e04c8893.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt index 9f65ed1a5d..eb8c7d9018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2bd32f7e28f0d6ad.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt index e3865ceed9..b64022043e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2c05548eaede0540.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt index 85cce5c9a9..ea0ea4fb5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ca058e130cdb067.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt index 6de385ecea..8ed3481ddc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cc409245afcb3a2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt index d335a7b40b..0d1c5e9e1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ce12968fe1903f1.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt index 0198923234..50bb68569f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2cfecad6e3207109.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt index 399ff06b85..c1f8682e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3428daff799fd5.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt index 5f966f1203..7649146d36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d3c73cfbc650a61.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt index a86c19be58..6d3c00ea89 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2d5d89d8dbd8071e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt index 239b384b3b..98bde00a6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ddda2c35419e09a.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt index 876130827e..3e2e93562e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e0216cc5e9a7b13.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt index 243063b9b8..44e9986243 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2e1c6b84847c5442.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt index 9087a96b17..8f19f94815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2ea0d2ca06caabb0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt index f7d18c2400..42593f669c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2eb835125bf877b9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt index 136d445fab..dfb1f76a43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2f531460d2852c3a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt index 40488bcb90..ff25ff4e15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fdb9130e92712bd.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt index 60a65be2c8..207cd6151c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_2fe241a334b98d7d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt index 498aea236b..d2b1669534 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_300eff856597e449.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt index 6b550b8332..34cb115556 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30568166dfeb54f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt index 659dda956c..fc332b9010 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30eff587f009df95.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt index fe8102ac70..0e74365372 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_30fee62819f6b388.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt index df795a7214..d722210cdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3116e1b838e6677e.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt index 7c6f0a5e5c..8cde27a233 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31465aa51653700d.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt index d2beb47c71..716ff9f104 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3179535455019f31.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt index 2d0f59e30f..caa5d702b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31929d2b3533247c.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt index 4730d23a17..684231670c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3194a3a5a51ca764.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt index 275bb4edcc..24f3523fce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31aa86e44a30cf0d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt index f465a531e3..acefd3ff41 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_31bc366c8ea5cc25.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt index 4353079382..747a634190 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32cac00b30f4b51b.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt index 3e96b60ccc..08631ecef5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_32da88f0637a55d0.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt index 84383b078c..9d0d801f93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_332a163a340f14ce.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt index 47ec5904ad..c68c5c1c61 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_335a009f15c732a9.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt index a8e78813fc..265173151f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_33768261d4243105.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt index 6140677347..0489c361f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_338e0a38bebabce5.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt index 3f8b43291e..a117a158a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34243c5faac034b4.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt index 5f1307ae42..479beb1d44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_342733679bf5f94d.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt index ab1ce7de75..1de6d43aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3468176ed8be7a69.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt index cd459f00a4..72787e3873 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34683f2d9d4efabb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt index 344114978e..214580f13d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b789fb3755a83e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt index 27826f9c9c..f40262e984 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34b92ea726adb335.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt index 0756949af3..d51fda264e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34c2683459b46d85.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt index ebf6f334f8..dd66ac18b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_34ecbac7acc7aa4c.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt index c0606a35eb..05e24fd1e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35898957647d84e2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt index baa2fff5ee..03789cf888 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_35d30223d64defae.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt index c70cd4cc66..c560d8de60 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3694dc209915e706.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt index 936828ad66..f8f8f28c1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_36cb928d06f0829b.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt index 3e35f4d175..73629dff49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37014a9b6768c5fc.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt index dd20415132..8a089bd761 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3703343d8fc609f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt index de602fc193..43b161f49a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3772ded7258060a4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt index 932e247230..1ba72bc30b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37ad59bf5cfb8004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt index 9b0f021032..536990f46d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_37c42986bdb2b73d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt index 663c159202..ff2c88c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_382b8f6d82aba32e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt index d2c96d4e50..cda3dd4b20 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_383d41e8bc56c056.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt index cd5175e42c..95de9dd048 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38943aa04993744f.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt index a6884c2957..94db6698a0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_38e1a10efbc8293a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt index 9d35f25969..61854b0c2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_39840509b03906a7.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt index 6f4eb13c79..941158b52e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a0221055e119438.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt index 723ca84d3f..f221ac32bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a32cd06109e810c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt index fe636ed8a7..14c595756f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a5047a6c04f96d8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt index 330e1172f8..d5e195ff45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3a93cc37b32e94b3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt index b2aa22b0c2..3a8350c8bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ad92db3c912ca17.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt index 06101d7bc1..ddb78e9fb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b1a4290846be8e0.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt index a377c05572..691f47a9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b3f53dd77a4cc44.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt index 714bfcb6cb..ae0aea6c5d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3b78a29543ede443.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt index c158c43837..4791a1338a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3c8ed8eae8c3a191.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt index 3227d8c8e0..b55dc9c997 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ca4ec974a98ce93.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt index c4a00814f4..011f1d4cee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3ccb897cd1349293.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt index d5f544f1a8..de1374e375 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d063870d0c74f42.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt index cf6f709288..16ae1ab0b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d2485664cc236fe.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt index 383e8d5cf8..e0e54c0326 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3d710288a019f048.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt index be5f6b3b22..79c511c36b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3db061fac1d4fedb.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt index 469e03ca45..bceb57e5fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3dfe67a2b6248c98.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt index 1b16368e32..e0f0ae3361 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e95872e492c937e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt index 90acd774c0..9d796cdf49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3e9de609a2aae942.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt index 0b838ead71..4417f63db4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3eff94995e47ee58.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt index 8d503a91c9..1b4b4e6fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168af0a695e292.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt index 6d202fcf7b..505a088449 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f168e81cf8ade65.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt index 1a63aac344..62aa226057 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3f8bf9e57603dc9d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt index fe2a20c3c2..87792f0ec9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_3faf072af12bd3d4.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt index a1b37a330b..eba67416d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4014359b7c8cc4db.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt index 17b9e2b5c9..ddddf7dc1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_408038874b3b2535.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt index e13ec43ed8..70ae937f13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40914917a856ae3f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt index 34de5b0b80..5ba0420aef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_40fdd634fdadf6ea.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt index 424d88e08e..fd2bfd75e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_414609e48fe26657.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt index f0960b0e7d..b4c609c463 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_417fbece372c9259.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt index 672405a8f7..15937adbbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41a73b9b171b6060.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt index 0a9dcf3e6c..144c0b8c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_41bb0e875b4e171c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt index 2d339c561c..426c64773a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_421e7d510b5c4a54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt index 5f3b80bb81..961a621b1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4302d85c82e3957f.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt index 2bbe394f3f..8cba8eae40 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4308a457a615694b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt index af0898080f..f0c1c0abe1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434222db24264efc.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt index b960d358bf..a47dd6bee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434c35b947addd50.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt index dd6eb9c8e8..efd97d26b8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_434cdf80ad36f5e1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt index e6ef842e4a..90daf22e9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_438ceff8f25d734d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt index cf8d4087dd..f92c7f4674 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43c805d53a630e4c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt index 7ec2921af8..a6cbfcfbfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ca86b4c90eb9a5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt index d5278fa374..06afad9a79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43ccda93fb34f87a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt index 332d83815a..08ee735cfa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e828da7c85bf6e.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt index ee9c9fcf38..42016d9af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43e84152c5f403b7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt index c9794a7bd8..8a5bd63e5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_43eda71639fbdeb5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt index 325ecb2cf2..fef7918bb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_446975e6870743bf.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt index a2b3114a81..6d64857d33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_449f2764e6b9fb50.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt index 49cf398a31..9a75e3ebae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44b1b8e5ec45f12a.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt index 8e52b4bdf2..d5e87cd9b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_44f041bae9639b52.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt index 16adad5931..cd8fad47da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_45b283e822620442.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt index afa9f11cd4..6d9bcc21ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4668268cd71e8431.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt index ee85d5e5e9..ecfb7a2572 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_46e0f2bda685ee7c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt index 7f769619dd..5d178251f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47b9d9a6ce8afa2a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt index 2da2aae047..93ee5c0491 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c20f17eab9b960.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt index 7e742d3753..cc68c0db9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_47c284de9a4136a4.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt index 830e6dc29f..a82a1e1927 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4841829b0f158dd8.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt index 806b75e1de..5ec9f8ead0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4889a308b95fa589.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt index efaf3b94e4..9e529a436a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48cda1840f5b240a.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt index 56695bde94..f1051384fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_48dcd0931f84d443.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt index b25a5a5a59..d89f8a40a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4909d71a3ec49747.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt index 44a234a398..4d5e1182da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_490b3fc53b31fad0.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt index 03d8b772c7..11f9cf81ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4923c9771089082d.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt index 73a20956ea..1f06b2716c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4970b602c9ab0e26.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt index c0d65876b5..8b455f45eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ad833549b12c26.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt index 21d764275d..eae21bf861 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49d7e9ff103bbc51.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt index f32a86f373..e7309ac926 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49e8f01ea7a363ad.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt index e47858b0e6..2d2e4a04a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_49ed4aa2c7b73924.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt index b65eb787f9..51354549d5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a391d871795c2ed.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt index e8f55b3b10..9f381455ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a78fe4993b48bd8.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt index 87e5e7925f..db8349b1e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a7ecf688571652d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt index a8d2363886..1cea4c0085 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a8dfe9c08616a30.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt index 2a94ea2967..2d9088f94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4a920f8e6b647efc.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt index 46aff9ff54..ae8f33c3c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ae14db179ce6442.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt index 227675a74d..9962ab601a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4b86cb021d6172b2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt index 324ce79916..e48a24c223 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4c579309348b97c8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt index 8693242b4c..bd09b77350 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4cc36a7fc18ff98c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt index e93fdad334..d7ba359477 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d32b00259887c95.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt index c19c7fcba8..c85ceeb121 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d49d108804134ef.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt index 401cac2d2f..88b5dc0e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4d8d834b2173d42b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt index aa6b5e4183..abe0f91e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dc5859b3fd630f1.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt index 319c37b4bc..a085efd663 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4dd0abdef35f8678.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt index b863a31d5d..f6e3a87334 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e13642bf696b28d.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt index c822aa61a2..35a910dddf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2a1c7b7dd3f886.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt index b564d72f35..7886010dea 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e2f22127fbabc9e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt index 096701cf34..4e84c211de 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4e90cbad4e254d8a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt index 68abbc3429..69db1ad53c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ebfa07df0ae8247.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt index b32a30c128..6b29e41f3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ede022de5059921.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt index 7d57184d38..08ad6a8a5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f32ea6a14dd642d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt index d3ebb2d26b..138f9d6ae8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f430bf2c3abe6ed.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt index 4952c4d2af..08d6083e57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6368a329777588.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt index 2466e2295d..0cafd735d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f6f88ecc62c2d18.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt index 3e84804021..bf295f5fcd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4f757e3dc345a6d6.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt index 862ad70539..16bf237a5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4fad923958715aea.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt index ada87c39f2..ea1c7a9ef4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_4ffc820bd9f027ac.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt index e2ed5350ec..f0c49460a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50a6af1e11b0318a.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt index 19bc6786c0..84ae8448ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50b916edf97941f5.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt index 8e295f8755..a0548e7c37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_50e2fb5a4e6dbd16.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt index 30863a8605..7e63116c93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5107e9033bbf1cba.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt index 3b56cb7db8..3ac71cf817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5189be4c6f7fc47d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt index 6727522633..2a7487110c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_518ab90b1e1c7b8e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt index a81d172b6b..a9aaf308e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51b126a6fe0ebe6c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt index 50fcd3469c..46f8c4b6a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_51f597b7d6d4b2a0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt index 87927b110a..9ccf10e0c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5201e622f66c84b8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt index 0cdd9d34c8..1683da13eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520b95940ae6fb71.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt index 046b5b63d2..6a1ddc721f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_520d15b251663de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt index 5c7157261d..0fa6552384 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5213a5db03dbeef5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt index 7d83413d28..f9369df405 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_525460eac3675c58.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt index 1e5ff9d9c2..af813e10f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_526560811eb11382.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt index 909b5088f5..c0bf060fe4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_533dceb6fb18b6de.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt index c4661a792f..5a01b6308e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53403bfaff522f1b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt index a0e133d8ca..23a7f24ba1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53f8b5b771e17501.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt index 453a862136..c83355a841 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_53fed3db3b4c1704.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt index 449f13ecd4..231f68ba13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54382f89b64a6cd5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt index 542a84c80e..1f5e8d0f14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_54570a6446a67625.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt index 19b6c9e1da..86f520dbe6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_556ddbf73d404cd7.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt index f852e85e08..d4e4cf6400 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_558da4bf742bdd0c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt index fdd7b16cca..fbfe36ac58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_564ff9ff3afdf0db.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt index 2a8f29788d..631af4699d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56ad76baafec1037.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt index bb6d325b7f..ebea397a8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_56e3640fec47c739.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt index 5c47def6fa..3d49134e6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_578270707a743649.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt index 0de3affdb8..c3c62a4573 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5788cead851636a3.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt index a269d71c64..d19c545bdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57be41d86bcdf3b6.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt index fe9964dfb9..360ead4fe8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_57fcd364458c5825.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt index b61d555564..bd8a32b4ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58551337a41f932d.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt index 04549591a8..fb7d72d5d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5871f8fae30f854b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt index d4ec2d725b..6983fd07cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58a72b30a198218c.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt index 9881f91ae1..95c02dc770 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58be7dd3babe5e29.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt index aa27fbcf0e..6cea827d82 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58c3c540cbbc6059.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt index 07173340d5..8ade7c2ddd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_58f311890e243a66.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt index dff0907f03..884da8b59f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5901fa774c05386e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt index bd6e0e0a40..d120145962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5961d85ec5e2833b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt index 48793db347..9638e8ab24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5994179fde12124b.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt index c0170a1ed5..e9c635b395 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a4e79b41953b158.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt index 156818b29b..6ff7d7ef8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5a774fede1a8b693.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt index 00101ade99..0e994b9743 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa38c97ad625201.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt index c9ed0e2616..0edc7f7128 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aa6095294b4e315.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt index 8162323b8e..b7af737f4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5aca2636f36d5a85.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt index c34134dfb5..a069b19fd2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5af19078558bef22.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt index ec68f4e9a1..de3a65f7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b229a7250833d3b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt index 592980090f..ecddfe9e3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b2355013c37f4a3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt index a3b1e619d5..c705f85788 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4d2bfedf4bf30f.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt index f557c0bd71..65b1453de6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b4ea340c55b0872.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt index fb1252221a..c08e62327e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5b601a9a850b9a5d.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt index 95c2e13f68..7b7aeb7fd8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bafbd037cbc4cda.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt index 6ad8b0c187..50a1da9b98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf05d24d75004eb.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt index 4d7b6b638a..0a31ed46dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5bf67f18dc7c4b1b.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt index 6e3f30087d..02b0eaf14e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c42d7c6b7b34b8a.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt index af2b4a002f..2c71989a2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5c5312f30d4818c4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt index 8cca0e39bd..653fab73b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ca4695a895071bb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt index 8d549aa6b1..fae568a4bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d19523a7283dcad.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt index c69fa0ac1c..c4a05b8ed8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d1feb8b4a54fe83.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt index 56b2991fe9..c11537b468 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d38c1e1af59bb62.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt index e2d2b30f96..7bf49d6a17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5d8a68a445b61578.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt index 2462d31f01..bf7aafbd3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5db612bdfa130760.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt index 719a12433f..ef611d8a31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e025b806d1f6287.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt index 37d7381409..028bd7e9fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e46335c65f68a48.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt index 2a871886ac..1dd656fd3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5e891d27051bd1bc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt index 53cce2f399..abc52f25d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eb3cf0a765e83ec.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt index 9e53f648a1..cc9b36305b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5ebee570727caefa.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt index 1d0c87c6cb..e66d0719b5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5eef664b6e716ed5.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt index 945b7a9cfe..f0018a9cc0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_5f69a5efefa4e515.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt index 51d6d75987..077cb0452d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6016e750234580e0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt index 81be640fe8..fb35ef7080 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_601bd44dcc6dceeb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt index 2735957d99..a958e4fd17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6049a1c6ea8c574f.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt index f4fe6f5739..ea73427e9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6077a76c7b442f6e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt index e01129aa27..4553e699ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6086c56527d5c686.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt index c46512d552..91641c0b96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_608e6edcd10a3d83.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt index 1066b0c849..09f1d08f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60931bab81fd88a0.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt index c9140b5dd6..63fff253d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_60c8641bf80b27e1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt index 26ddd010c8..e7e99a2d1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6112ac37cc3b18fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt index 77d240c0df..0795833a30 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_611d9befd71a5b90.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt index 4f4902050b..a74557c938 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_615502d945ceb714.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt index 0de6d7cbec..a585b759af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_621eb62242ff1655.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt index 957e4895b3..d36530c4f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62512b185bd25154.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt index fcae7c9db6..0c94496a48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c004614c56dfb6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt index 767062ef87..17cc85cf69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c61cd9e73e4389.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt index fc5926fbe1..a3a3139a44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62c6bff3063056da.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt index 9b484fbbdf..11255bfb05 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_62eb66e88264a125.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt index 71dc1b8cfe..6fb4e677d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6357244baf093f12.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt index b596fcfb30..8d3e9506df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63ab180610a45df5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt index f7643c610a..805d27e9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_63f82c17dc6853ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt index bb2b96b7ff..a00e54a42b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64175d46d7146515.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt index 925aba54d5..617b15f2f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_641af3ff9a203f7f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt index fa1a8db34b..419ab1bd48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a35b175d7f7ebc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt index cce0dcf259..7a88d7a052 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_64a62c4ab79a9392.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt index 5e4d01e75f..dbbd3c6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65038f18d261e3bd.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt index 04de1b3cad..eb4647a6c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_651585a49f15ad93.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt index 926b632742..ed7859fb5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65239be7d65684a5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt index 0486b9647f..ded344f55a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_65f750d6ebb96a9b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt index 14b3f76ad3..b42349f06f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6622e6898bd2a60c.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt index 7340cad906..c25bc4f4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66503a7931701755.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt index a0552ac5e7..14cd73a978 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_669b65892cf5fabe.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt index 045740aeb2..6736994ed3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_66c9a595c22a237f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt index 77c5841672..d4619c42e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670ab20cc57d42b1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt index 06a35b1e35..4bf78469e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_670bc0a52047edef.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt index 1e698da26f..a59a52d399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672b95c1dbc627e7.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt index f15385b122..1862c10bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_672bd4669fd59744.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt index bee16622cf..30c3fa34e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67ebb6544fe6c27f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt index 47b571e953..55eb281f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_67fcf919d818990e.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt index df765f76ea..5e7c632d51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_68361028fcc5b28d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt index 9945452169..337aba1257 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_685a015000e838ff.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt index bcb032ca2b..43d418ae48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69c9a47cf814b2ec.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt index e395ab7972..eebf17cbf1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fc2f9aed9bdedb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt index 0ad214dca6..29d9ed57a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_69fcd2606de7a2ef.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt index 568413c911..f7e87dcf4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3161ca50c7bbf6.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt index a84f6b8de1..e181d4570c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a3fa153ba2f58c4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt index 8092daf264..4fcde70ff5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6a4b03c335da7014.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt index a2460ebd32..f241ce1684 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ac53561d91a91d8.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt index 9544e7dcac..5f7c4bed07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6aec4b1979c2a7a1.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt index 4d4fb338d1..8c3534c4db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6af92539ef70b33c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt index 36d9d3c063..ab7483ebd0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b0a6ed8147cbfdb.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt index 5091f96b1b..5a9265985a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b4e57cec8ffb63e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt index 85383ec01a..0d632a2cce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8c42be7ead2777.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt index e0eb9e10d4..a5e1d67db5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b8fd5857fb466ea.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt index 9e0a032217..61a646d94c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b93f58a6c8e2866.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt index 8a8df5fc08..4c9215d213 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6b980c0ab9b89786.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt index 744eca299e..964844ebfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bd32dd61fdd73d2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt index ba4a110b89..6f255cef42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6bedde57d52182e1.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt index b3afe8abfb..841ec1a471 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c198b9ba248881a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt index 76113dbff2..decd673fd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6c472d2da5a96300.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt index dc2cd4b7e9..b3ec8ce5c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ced1bfee9bf22da.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt index 3ecb0fff1f..d58940b304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5693865c2b8d58.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt index 301e6304a4..627af93799 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d5873dfe2f4e82b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt index f349900c18..fda57a890f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6d755d73435de6db.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt index 5178a1764b..a953d36758 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e35012a7294be15.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt index 23ba4bfa9b..5618927b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6e75a3328c558a1a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt index 7c1541129d..0052e8cde3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ec01b6cd0f12ee2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt index 84df48f2da..84383217cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6ecf9d4c2948b0ee.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt index 96c1de17c2..668755e68a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_6edc0e333d7ca95b.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt index 47d0429212..9b3432ce3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7004a328de2e0ca3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt index 3c0f2ed72e..d847bfadfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_702f21c7445d42d4.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt index 15d5273ecc..017ea5fcef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70ac68ef35e988a5.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt index 16995019ff..dcd86cb8bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_70f6d6cb63867d5a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt index db4e2e99fa..db6755c52b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71145c65a5055538.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt index a7d87ef14d..9f61dface2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_71e47d4e15567da6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt index e4fa706ffb..2b18c56fbd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7256eca2416a2091.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt index 4013ad34e3..22c50bf3b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72b0cb9c39c87b63.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt index 954b52ba16..ba78a3f778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_72d2b1e76f447645.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt index a6157b06e1..a05f90c11e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_731d2ef406a0d5f5.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt index 6b673e3922..8cd0c7b2d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_734f1d13b7cdbc1b.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt index 5b2e8c3075..26828681a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73804adbc23469d8.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt index f99f25a10d..9056a09ca8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73a90dc69fec0a55.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt index 4835791907..2c937175fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_73b50d03548740d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt index 7d4f4cc2a1..984bc0e012 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748901131c830f2a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt index 2cba5cb565..3479e5ae9c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_748e699d4c94c206.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt index 7286698698..621479b945 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_749518a425a23a07.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt index c220717604..3c5b17a626 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7495272485356f8c.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt index f76aff5dc6..9e2488ff36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74a812b979852e89.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt index aca21b9664..81beab652a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_74f28d1e19ca5b74.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt index 0fd4544b50..c71d6bc9d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_752db732ecb59b58.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt index b6a7b651f6..baf284d05a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7560eef87cd7423e.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt index 5d4176dd0b..c4c3dc9f1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_756ed6c87d399e54.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt index e9722ddea4..b3c224a479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_75d3e924cfc2a977.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt index 533a3988b6..c3f04bbca4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7610949817c70349.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt index c9e8e77439..df8330c4a1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76181d327aae1095.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt index ccdce437b8..d331746633 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_767903a02e8d245b.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt index c340bc1261..8ef9319ac8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76ccb3657e3f1344.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt index b28db6179c..0b592d628a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_76f4f8df0b31dadb.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt index 0438f235d3..369b4a6a32 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_776377d1c302c535.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt index 2283396d46..d3460ff179 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77a1076f1ca4b706.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt index 2945822700..b96203449d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e34035d0f5dada.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt index 9955a070a8..45dcbf90dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_77e93d2871a14998.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt index cae404e002..ffe597afad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_780d0bcf92b7fd1b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt index 65f7f8557c..4027c4eba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7841cd14d87aa180.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt index 96bf9eb77f..0d9915bb76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_784962401092a09f.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt index dcc4e07160..f2698fa582 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_785549e5f37cdc28.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt index e9b2ccb1e5..3a71f1a63a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_787f97f09fcd6848.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt index 41f4343d88..ff14c7a8c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_78bdba894c070386.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt index 212293a258..eda305fc13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7928d0dcf2a2297e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt index 6908ac9f44..a88bcf351d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_799de54ca22aa3e3.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt index a0049e7099..52a28d2eed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79cc52cbd2abcc8a.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt index 60c29d0e83..542c7aade4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_79d519b5e1f98552.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt index eacfb01961..576815c8f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a0d05a9249b753c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt index 4457570e89..580676814a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a29b132ef13465c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt index c9626dadf6..4f05914d76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7a50710f3a13ffbe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt index 439647fb6e..e7273e05ac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7b4eb80c645cf2f5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt index e8fff79fe4..0e62e224a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7bbe9bb95d8a8d38.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt index e408a3464e..07a7e34a69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7be5b701649dc247.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt index c1970525bc..2e7a110e81 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7c1c0bf2f29e0c88.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt index f955c7731b..d0c6e0ecfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d0d1eda7ed7a804.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt index bd8faa6bc1..253171cad8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7d3904d3efa1714e.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt index 264a835dd3..e8cc934017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da06f0d215a684c.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt index 2a7b8efbca..0446adf50a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7da2f0d86c94c2ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt index d988287a83..f6f8e4c58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dbe84c313bbb914.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt index c80068cd47..f279b07b75 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7dc347eff85838e2.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt index 8fe3058be6..610dbb3ce1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e3816db922bc9a4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt index 98770d1e93..41f3c1c9e7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e488a7122cbf00f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt index b878639f20..1571e06bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7e9392cefb2ad327.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt index f78e727e0b..1b38db6828 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eb7720a6b8de284.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt index a39cce45ab..b0f614f135 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ec18e2d00093057.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt index a755a09739..11f2ccfe3f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7eceeee16efad14e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt index 89d62ef2d9..5100b6f415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7ee4864d34f0da96.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt index c1d32a0441..e1facd0aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7f4f0f13e9930623.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt index 65aadf0d32..7d8032f962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fa89b333b44720c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt index 6f2780f08a..6fdf0775df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_7fb8a49d4f184ea8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt index 98901f4c80..3833b7b497 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_802ab878f0a204c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt index eb6cdb3340..469edc2ba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8043c15316a12438.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt index 233f730840..6b0b0a629d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8096173cf4c10c7b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt index e948bac3b9..655a4df0cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_80acfbba302d8f6f.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt index f74f9c856e..b400190276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_813e03ed99a26522.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt index 68fbf39d8f..2354d9d57a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_819f01ba9311fa18.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt index 1e6e2edcc6..ec4e832562 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81bd438b544b74bd.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt index 025ad4056e..804ff7aabc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81eb306e4b98152e.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt index 8bb8f46007..ed46680327 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_81ec725790703699.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt index dcdb0ed11b..ae3188b692 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8236af6b8373721b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt index 437aedde84..3d7a7570d1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8256717e1a136692.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt index 06c2e744a4..86945a8fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_82bbf1a8e6286b89.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt index bf79b41411..11548ce333 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_830785d672195aa0.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt index 33c6cd3a9a..e250815895 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_834310c7fc35f23c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt index 54672a74b6..a8c565a387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_839f146f1f186c59.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt index d2cf1df2b7..3e3f6f37ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83e3bd62e794f223.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt index 4339e0c593..56daf4d12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_83eafcb2c525d88c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt index 07c268d61c..e46cb4ed0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8443e155374600d9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt index fe75211102..386b6e3335 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84569435b095aae7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt index 9fea5cf9e4..4ce22190b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84cae70ff1e36dc6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt index 0680045d7b..0fc708fb43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_84e052b9b15a4dc3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt index c3b4eeb63e..050026a373 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_851ae6b0eb11f8cc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt index 8b2df1c59d..aa71d5dc7f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85431e6f878152aa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt index 20ea8e0ca0..8a0a718c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8543931d8271ea03.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt index 6e658a4873..854cf41aac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_857a000b885935fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt index e4ecab1b39..551ae42544 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85b94a1ee11fd4e5.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt index 8104c5b4c2..a11f318c65 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_85f8eafe9d8ea985.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt index 66d8c3ab14..3a66472cbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_860dc6192199ac6e.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt index 369fcc1251..15e98d29d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86105943e84e847f.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt index 76b697d8a3..7aac11372f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8639e20bf634e23a.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt index de76c50a3e..16cfbadfab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_864f2e0953315b38.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt index 372180b667..27ec96e158 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8655bfa3b8992c7c.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt index 9cb7b439d5..b97c75c669 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_866d8182e8bb23a1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt index 9a11a526c6..1da710da42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_86fc6d2ce139945a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt index a27a4907c3..ac06ad2aed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_871884b6ce15140e.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt index 9365c2d7cd..a9c5e29851 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_875b5dbafedda1c9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt index 0f5965ce69..d5899b2f84 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_87d6cabd2c87c4d8.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt index 31f6dd0560..53867c0dd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_883c9503e927010c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt index 6b8817f629..20fa4889ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8891571acc26682e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt index bef3e17fe2..9974052a70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_889eaff9287e3b3a.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt index b6d117b76c..4bd8a8105b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88a13a408f467096.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt index 944d92e45a..1ba877f14b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_88af252d3a9520d7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt index fd083611e9..5e1b56fb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_890cc6225e927910.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt index 4b72174d8b..1f81dd617b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_895270e942df83ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt index 16ad6b0368..9897e85757 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_89bd27009f1555fa.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt index 77d832d13e..7e628212ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a09228131ea39b9.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt index cd5ca8f04e..2aaa301d5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a78c2d195f51c4c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt index 4f86b6f197..bfd7443730 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8a9dc423d4ded57b.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt index 0105df5eff..bf065c8736 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8aa872f20216b6b1.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt index 92e52bf714..576b12f72b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b225313a032ee08.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt index ac8e77b3df..46e4c4a170 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8b970bb80581f61a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt index 411c894c59..99e9b8a756 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8bc1ad81347d3c4e.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt index f98a44af87..bb6f88c4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8c0f79f239648767.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt index 0fdaf63c4d..3292d06151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cba5794f0652371.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt index 31caaa7076..82c337ec6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ccc88fe6029a891.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt index eee2c4c29a..aafb784ca5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8ce699b98d2a9700.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt index fee510856a..5454c320f6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8cfed8dcf1321694.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt index 2399ff741e..b10dcb1387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8dbfe96c5dd947fe.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt index a2b5a6471c..d02f32f78c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8df3b73bea61f818.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt index 8fd5b8e3de..6123300f0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e3fcc91e2f6ee7a.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt index 095dad07e8..34dc01c7e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e70c4ca896bf455.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt index 66a1a185f7..deb9b16f22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8e93f50ead8fda3d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt index beb9152e3d..ec4387c519 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb5d8dd036bcc0a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt index 2f56d5ad38..002fbf20e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8eb66257e6eb852e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt index 76abdb804e..35aaf60b42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f00974a4747fae2.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt index 33122376d3..20531badf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8f54cd21a7daf71e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt index 76d3aa8fe8..cb26602914 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fcfc0c8b3391054.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt index 2ff0d644cc..f8bee66a3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_8fd9804f5bd26a45.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt index 02285e8218..e7927a4b12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_900dc8e2556d6efc.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt index c6764e035a..81c97ca5a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90266d08324a2d4a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt index 1dd4a88ab3..af55462269 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90c7d4310f2e0896.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt index 228c4c7f9f..ed51491236 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90e1be6de9347b30.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt index 405b5b1f0d..ae6cbe9ad7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90efdf9b0482da54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt index 28b3907f28..9268d7a5dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_90f1417ae7ed53de.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt index 2b83b340dc..7f323a3648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_91990b04953db393.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt index fd2ef8bb13..454d4c635c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9200ff452a0795bc.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt index ddb76760d4..ae0766286a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_928c9420c1bb63de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt index 5b184cad4e..f29c37bb7d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_92edc4c62e75ebc2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt index cfe3f75d17..9279cfd686 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9361c21355561fb9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt index 3da1e47285..2bd386ac2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_936b2c7a1344cfc3.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt index e4838612fd..04195ec7fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9373fe3eec50413f.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt index 0cc064b218..3e4abc7db7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93b9295d7d839d94.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt index 1aed761c36..ff235292fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_93eac42dcba4c72e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt index 9b6175cb80..edbb8f7215 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_945670831a185c84.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt index db568da39a..aeb6817fb5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94709de1c724d2f3.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt index f59e7a5485..d402df3433 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_949f6ff71de084b7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt index e5c1708b66..c57d6999a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_94f79482c4eee122.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt index 9e89c4cf54..26fd9d7dcf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9557425ce6c2b7e1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt index bf4faa9685..5f18a6a8ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_955e251507792531.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt index 4970ff72df..2bb511dc14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_958fb5f6bad827c7.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt index 8b9cc413e5..afb8876219 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95b436d8d2391460.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt index 0bd6f183c9..0455ff4459 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_95d56defa642382d.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt index 30b9a19300..3023f1a5da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_964221e02460356b.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt index baadaa45bc..c030f21b22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966ae614987d6c84.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt index 0da22ac65f..f073bfcb6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_966cc3f4037a7751.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt index ce81059b1b..4802c686f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96bbfe158b17097f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt index 3404e34fbb..4e0314cf10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_96c678b8a7bd5cd7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt index 17b4d1f4f8..286448e0be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_979f4e1d8778978d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt index 3b14296f19..65c47adf77 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97a4b2f2e9d0e8fc.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt index 69e637299b..fd57ea3834 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_97c94938b29f3cd8.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt index e9ff2ce035..8c1f03c29a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9803af96862ec001.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt index 89a41f02a9..e50420412e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98098a7569a690ed.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt index eb30f6e26d..12fd29e804 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_984e86bec72e91b8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt index e7c9a3af2e..9a3aa77e0d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9889b062b29f0e60.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt index 36cbeb0211..c65208a7e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_98f47fdce5a9bb07.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt index 58e52feb9d..ddc405a4e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_992a5a8cdfae182e.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt index 0a2e6694f0..1dc5959d45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_99f3ec72142e73ac.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt index 8972dccb7f..d6a6e91a06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a1bd23b384ef683.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt index 7d57cfeb62..0f7814b580 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2d043e82919de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt index b93a7f8681..e4fe9fb2f5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9a2e732ed923494c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt index fbb098ad33..f756a9b45a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9abcc5efd6040859.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt index 0f48b90a94..3e8cc31ed1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b5890bfa5b4d99f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt index 3e7676fd27..25d9345c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b64d988d4d8ce85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt index 4bf373ff11..8197e605f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9b84c021f22516d6.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt index f86e25dc41..945923e8ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9bb22f74e6137ab0.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt index 7308670020..5bdddb0ed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3500a3e611e7b8.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt index eebb955eae..2944161485 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c3a8804609498e0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt index cb111ce79e..1611db83f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4be19559533f56.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt index 2880a87873..5d9c2e5c68 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c4f1e5821ac82cb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt index f2b67a85a4..f01d526357 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c5059f1c406a6e0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt index 6fea5c4d8e..392a3b9f6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c7ddcafcc8e81f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt index fb8dcadb12..6d6949a977 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9c9feb793d139c18.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt index be8ad5847b..0347b3edd7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cb55c92bb21f55e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt index da47d29bfe..108df006fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cc462a576f0da80.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt index c7177686c7..f6e97ea813 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9cd706d9e2ade979.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt index e8bd918fbf..affb962695 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d1e362cebedf68b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt index 929f4956b0..92d93cefd1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d2386e4cdf4622c.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt index f05f7f5001..7d4c43a58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d48fd5d58fbfea2.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt index c8df5462bd..aec6d0cdd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9d632284ed11c729.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt index 3a4b5feea0..4703eab957 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9de9214bc3816f44.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt index 66a338eaea..4a07d67503 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9deeda27f7a8acdf.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt index 0f43c7c95a..0c94e845ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9df46a62d35fe8eb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt index 2272658634..ce7240c007 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e1d6f77768563a0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt index ce07c69b35..1057ce15ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e54a35ab1785004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt index 601ae92781..ffc12579ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e6bb96518d7a8fd.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt index da5669950e..20cbc9b925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9e7f6faafa6e6390.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt index dd0da37283..382b273f8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9ebef09ef84725e6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt index 2ed78afb80..9b2dce6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2636db94a545a7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt index 846deabef6..f27f37ccda 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f2aa7b4f6246f6a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt index 123d863ad2..15dcea2940 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f876f3fa4dc5e75.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt index 2823178455..fab61d9108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f92a05dc45c7f93.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt index f38b839d29..a53209be59 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_9f96079551cd472e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt index a1355a6852..54a3b8a72e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a054f29bc225e27f.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt index 0f2f306c0b..1832a304bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a090f55e49d78b85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt index 8bb050fed6..984bc471e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a18ee6a99eb155fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt index 1e1bd718ca..cb95a999ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1b09cc31f803ee4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt index 4c1b09c92a..b79e174713 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1d47755ff750dbc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt index 20ee325bc5..b7b30f1f91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a1db8ad08b9c6f0b.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt index 04d7be4e6a..75fe7ca66f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a20b9596fc19153a.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt index ff813fc307..2fd2749da6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a2853ff5de6d7.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt index 094ad5a1e2..21aef70f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a21a9623a129fce8.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt index 3249378549..e10004f752 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a2a185228d8c2e8c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt index 8afbe3c9dc..2a79bc1a10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a38acb77fada9d38.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt index ea346d51fc..0364810eec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a39226592ded51a4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt index 137a8d147f..fe4a1abbcb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a397c68274cdf9e4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt index d8a077eb1a..2deaa5e444 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449e70dc3829b06.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt index 3af7e70670..bb01bfd2c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a449efdfb252cc09.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt index 7a09f31a17..0e1a405bc4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a46640b3a2040cbd.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt index 8faa0752dc..9e0da52930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a487ce53f8fe8e27.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt index 50db77e9a3..65a5bb19f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a4a8efb4c0321116.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt index 8568cbe563..5f71acd6aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5279e66910e57f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt index 3caac5b6c1..ef9acd11e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5285efa9638f31c.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt index 706f74d115..f685d30c66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a54637d80474d1eb.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt index 5372f62ae3..926658f1bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5645dc9376f9cfb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt index 845f86b611..2a886d95ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a5f7c1fc0aa09bb5.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt index e330d47b57..de477aa38d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60cf74e50ca74ae.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt index 03fa2db5d3..3159ec4019 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a60d5d9742196881.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt index 9264f3e006..cbc064ab18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a624efe430e681de.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt index 051c9371ee..a05dfc9afd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a630fbfb7390a72e.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt index ba9d3f3acf..0e39cd2844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a66bed7e68fe176a.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt index ba5290f6df..dcdacbe022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d206a79c0b11bc.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt index 6a05d3e414..78fd1aeba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6d238c89c6ed62b.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt index e4f17009f1..7ae4c4ee49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6e13051afa12d80.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt index 7f65abdaf8..34121a9c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a6edf3b92f83348b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt index b56486dd7d..2f0e95222f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74ddb475aac1ddd.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt index 2b622a3628..af39fd4bac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a74f1e1358ee2cb8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt index e83bd02af6..98d3d2001b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a777d74ca0dee686.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt index 9e2f65c14e..9e92a2e3b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a796842c26dc0675.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt index 864685536e..1adb151014 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a7c7eba5ec3f3cd6.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt index 84886ab39f..9e3a5a4a2a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a82f26de8832eccf.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt index d0f27e0248..1baeac47ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a892b9f540fb3fbd.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt index 76547cd457..1990b4cb1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a92561fae528dd66.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt index fbc646530c..f33c23de38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9710d6372e0627c.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt index a830ceaa9b..7aa1898edc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9cce7dd1a7552db.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt index 37296e808d..3e7e8d44be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_a9f795c1a4a3dc7e.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt index 2a377b830b..c7c0ec809f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa5d6b47e3077133.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt index 395202058b..25dea5c2e1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aa6d2a79b976e71d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt index 6c000cb4c8..49a21e7fd6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab37f66cfadaa3e7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt index 3e9566d413..85b0d92629 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab557800adb816a0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt index e3aabb078a..0920a1b817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6c3870d7b072f5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt index f85744acb8..21b71c65d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ab6d6dac4001b394.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt index 60e5a17977..51a054e072 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aba5fb5b005587ce.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt index e29d15c655..a04569c857 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_abbb1a9c3ca6dda8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt index b7ac91c4a6..28deb6bc92 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_accf8049754215f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt index 657d4795b4..f963f8b457 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_acd834b5bd46cb01.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt index a147c095dc..89fd4edd5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad103b557df72a81.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt index fd5ee4f743..450ec53151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ad65b0052e93e330.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt index 0cbd563a16..6baa5afdc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_adc13c624670af54.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt index 9687c5da22..7564f9df96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6a32601cd5623d.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt index 25b835f1d9..5fda855791 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ae6c52842acb98e2.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt index 7c39274572..c44b2b7fee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aed6013c5d56c9a0.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt index 7df4339a6f..0372e2816d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa80fc141aac249.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt index 39e7095024..0d36355745 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_afa94c0f5d9ed8f8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt index 95516734d4..59a96eb13c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_aff23a0ab1087672.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt index 5101f77056..fe70d0d3ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b03269d3742c3684.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt index 9bc99af606..b06d0d7994 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0953a2773dad710.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt index 820da5b941..2b35b1415d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b0bc842726317993.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt index e638e2298a..2b898b9955 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b102417ccf7cd3ca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt index d3b1f09610..6f9d827423 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b11157f641c8cd81.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt index d0f5470894..96e64c59ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b17627ec5b2594b4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt index ad5d2e114d..d978bcce1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b18da007bdc0ae92.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt index fc3580ba3a..592b4ceb9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1983b1b7873e212.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt index 7b54004105..23f8c07042 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1bd7bea4d32bfa0.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt index ef6db4e61f..4a9e05eb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b1d8d300b99f8cdb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt index 177b6df21e..e4bf1d9a80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b227222be18819fd.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt index fffee9dca7..bd49d04108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b298d0292072722a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt index a20ad17f47..fb8b171f12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b2eca82355c60ed5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt index 2a1d5bc489..334af40ba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b31a24b3f97f3c03.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt index 174b6e5fa0..feaf209a85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3339b84ff0fa2a5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt index f830fd8ec1..eaba9dd5dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b33796c3e192797d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt index 56fd9876d4..31b31184e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3a682de0c41d5e9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt index a9aea80a84..e5c19822f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b3cc198c0e6f40e2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt index b581596ba6..7bf315e1af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b40ebee9a376a06f.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt index b6847d36a9..704a0ec662 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b4e74cdeef5dcc46.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt index 1d607a3cce..4aca2c039b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b5ef80563d878db0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt index 65316548f0..7c841bbdfc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6340dba18f32d03.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt index 0195c3cc7b..93df1a2fed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b669a14f6b612d77.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt index 8ef275798b..aa86718c9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6ab96abbec2894e.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt index 9f8cf9957a..00335b8f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b6bcfcc767bf8aa8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt index 82fafdfa09..311e2c445d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b77c5ff0006e8f97.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt index 00f3349eb2..b03d92f4dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b7ac0bb3daa0fe51.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt index 2f77fe0434..72cc369078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8bebaeda49a0b9d.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt index 6083609f88..21e22c93f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b8e44296d5035084.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt index 339d95cb41..aeb027c0b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b92b2819d6600f42.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt index 8ccb6557a0..2c5025cd6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9302ddc3c71a56c.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt index e4be39911b..c96a4a6e83 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b93d7e67828d46d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt index 369b5b1019..5522b1a7ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b96e69acc89f6b8c.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt index f267db9388..80da4c39ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b989fabae157647b.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt index c928fc7f3d..73f5385399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99c01fc4cc25050.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt index f9ad2b79d4..d9c8e6cb6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fd451aa935623.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt index dbfca581e3..7e490bac98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b99fe093c03dcc56.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt index e66cf8727e..f86f10144d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_b9cbca8c3d93931d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt index 9cd85edd01..29fcc83d39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ba4e189b80e92f49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt index 49964a2da0..9a51a7e4c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb059858b3a4dd62.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt index 7a553ee19c..71a4ce058f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb317c7fca3ef64d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt index b66112ab7a..7ef7e7d6fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bb422f11df967bb1.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt index 1a03763961..ea57959fbe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bbe2828aa2860386.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt index 8c9c97eb9c..cc126bb316 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcdf6037107e346c.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt index 91ea4d0ada..14567897bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bcec9e643465de10.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt index 530ddb70f7..4d75e56780 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd113df7fb12fbbf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt index 73d8158e4b..797967bb88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd322b92a9f41865.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt index c7698106d9..872a07b1bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bd43f6d21bfce307.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt index deff595d67..58ef9008bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be36f5676d91428e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt index bc1556d729..408eef5407 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be413772c825426a.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt index 3176caff9b..37078924d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_be66c192b4112576.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt index 97ffd98af0..5e29430b7a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bea14fe938cd2ea5.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt index 5869ce0539..8951754a62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bedf407f53289876.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt index 5e8ad820b9..7562c468b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf299a696eead5d4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt index bf51e611c1..6902b0b1f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf604717274c31f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt index a325cee122..bdc6484267 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bf904685b1635430.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt index d32e4a028e..125707db57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfa8c08e086d1079.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt index e9b6952af5..3f2c744db2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_bfc19447aaa8fa36.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt index 93f61c201b..bae107c84f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c00d48ce7c74dbfa.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt index 80a0355a30..b9310cfd63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c05e9dcf2f3c52b2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt index 2f946875e2..ea2ba05a18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a091774709463.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt index a6346f67b0..8a2cb16247 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06a3317515dd82f.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt index fc7218a8c0..6bb55200cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c06c38d61292585c.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt index 979cc18f65..29c0edc27d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0727a9dd03483c0.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt index 909d6fb895..4690f64a78 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0787b8410370563.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt index f25fc19613..6e9fc6abf8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c0e27670f6aaf784.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt index 7fc45d2027..4e8fff5065 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c10dac9ba8e7346a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt index 5e889061e9..bbd9a31ef9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c11cd2165f60bbaf.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt index 9f88085c36..3f063168cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1c9d3ac4859ee8e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt index bf6cd0ce5a..868d4bf4e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c1ef5e08f49adde8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt index d7597aa4b0..a33e31e82e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c277f0a19b7b5653.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt index 356ee97b44..ff00edd12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c288932f9ffc3e6c.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt index 01e97d84c0..99e1b8f254 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c2b5fe975d4c1e4d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt index 37519e587a..0e054685ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c3dc723beef1fce7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt index bb88edea2a..976c868a4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4232bde52281574.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt index b285be4c39..bd1e7c5ac4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c453cd131112230f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt index c318472faf..b0188f274d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c46a6db053398641.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt index 29af62c8fd..e63fa7b8b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4a522bebc04b8c4.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt index 3dfc0ebcb4..f2fde1cdfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4b7946411c5e27c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt index 3133367f8a..d1f652c864 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4f3f4ae3c59c2e3.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt index bd60c5807b..938f4b6609 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c4fe9eb36be08aa1.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt index 9c995b4aa2..a0dfca5a47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c50fe9b0ce9d8735.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt index ef09b8a0e0..0f7cdd678e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c512bae79c0fbcc7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt index 096f221965..8f09a159af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c528e3f2e01a5759.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt index 22f365a75a..fbad0204bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5b6fe8ad21b79f2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt index c4b79925d7..f3c3aa1438 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5bd9dcdf03b2dc2.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt index 7c065beb94..7bd7c928cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5dba07fa2fa4277.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt index 69f10ddd28..54a641abe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c5e837d745d45067.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt index f18b6d136f..a92b8f8566 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c6bb85518edce940.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt index c3d0f46251..d7e11f9c36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c71202fc43157eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt index df1c7f0e7f..a3cb5750e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c729e69e40b974d4.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt index 4b5033b5ed..33bd510b2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c73a726a6e16643f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt index b700e28953..627008e2d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7471f617ca8fd47.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt index ff2714b552..bfcd81b707 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c75435bf65655137.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt index 1047441327..f8e7594564 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c7dbd32ca29fab23.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt index ef1a2d16c0..9d854f2635 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8154863dce70d9c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt index 0303ef7511..ba9122076c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c84077e206d1f99b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt index 79d7bfaefa..ccd0d93e36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c841a8bf41b79d61.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt index 7cfa8765a5..a98ea6c72c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c86bc06ac3e471f3.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt index f389d6d419..bbcb665016 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8d3f13f09c4cba2.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt index 315b0286df..d1c58e8415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8ec49e619492f16.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt index 812a25b74a..d0a1e18553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c8edc11e7b3a0937.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt index de330b07a9..98bdc79639 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c91fed278cff06b7.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt index 0fc98b0110..c914c2332c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9225241b59d840e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt index b8ef9609a3..8de5843360 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9917fb063d2ccf1.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt index 11c79f4308..0b7f0d60ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9946dff3951db97.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt index 917e6ab3a9..81de19eed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9954182de948eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt index 940cacf7b9..974112dcfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c99cb0de17c1cfa5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt index 047cfd8732..53f066bc02 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9a4b628a007cf9c.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt index ee566c54aa..bfabbc45c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9b1906d396e911c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt index e9b90a7e64..66d48b8db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c1357248b5681f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt index 09c53a1cbf..fd854dab79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9c47221a0a929b1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt index a579cf9bb1..f8ad24768d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_c9d2bb455edc7f63.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt index 0e69075ad5..912cd4baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca0ee81f642af861.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt index c4137befa2..07180582e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca2cf956d0628a4e.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt index c7def59a58..978e5b029b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4a058c10d84f7a.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt index 374d79670c..0b315fe2c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca4ee236342bfea5.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt index 53bc3ce2cb..b085cd6f94 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca77d52a3f4c58cf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt index 1c5404bdca..5a6ea9e12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ca7b5ac10d54b826.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt index 7cd2d9064f..823b16df31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cacf1ce1efd2b9ae.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt index 5561d8a257..d047520cc7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb1c98c311689647.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt index a97a81b4ba..e48f4ec62e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb391c721779c6ce.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt index 46523a49e1..049ebfdfee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cb424edfb24483ee.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt index a1c5c7cbc8..cbfdf20711 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cbd46a6612dba294.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt index b9c0653e12..97d7b99b58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cc34f458ffcb8a14.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt index 53d38b3c1a..2f7768d47f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ccf48e805e039fd0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt index 82ba703d8b..b0f19397d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd6519e005201bbc.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt index 6467bfbdfe..ab212292df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cd96bd32f1659839.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt index d53efb41d2..e694aec728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce13a09934485df1.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt index 9591dbe98b..bc3b850f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce788e453ea2147e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt index 89bb23f6a0..736622f5e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ce939348f1017824.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt index bc3e3bf70a..ffe83928a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cef80047e475246e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt index 7705237378..918e5aab6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf1fd0660620a6af.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt index b055d09096..7e982f58ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cf54b9d469656cd2.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt index 923830943f..3ad653cc1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_cfa9c25e4e066413.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt index 829d979a09..ce154c884e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d0b0dc32687d30fa.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt index 93b2f1b280..978c2424c3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d121f938867a4aff.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt index 536f69ea92..faaed4edb1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1354de3e9fae8f4.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt index 9d3a17b8b3..98104978a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d1b4474334c5117d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt index 84a7818356..fed864ab19 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d216ef0460c3a7b4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt index 93898be438..c183891324 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d21dbb3a099da395.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt index ce25a3bcbd..6911a5d5a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2472ba47fe70f93.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt index 59fd9631a7..00f72680a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d2562fefd66b1f02.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt index 4ada3f65bc..85c01b2eef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d35e91e202b9a7f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt index 23b8dd6505..995cf574fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d38d4411139602de.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt index 03a98a2ed2..ff43a3b150 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d3f9fcab39089b82.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt index d7c8845f71..65afb77d1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4627929e7d82733.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt index e119184df3..03bffefaf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d47072e0a523c117.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt index 18af8abbb0..a1136162bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d486f72aa5acfe2f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt index 64f59b1862..0c8c428013 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48a31a11778fec5.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt index f6d46992a8..314445bf87 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d48bf6cf87134eac.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt index e96424c603..6d2fb949f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d4be99e310c5484e.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt index 6339e04248..6523623811 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d512997de79bdb40.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt index 13c64e429a..6054ed9581 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d59853a76e29ffb5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt index c5469df08d..ec1e3b95db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d5d8bc5e8c982f99.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt index 8302392f1a..121faa3602 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d63cf40f531399a1.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt index 9651bc35d0..30cf264853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d663737b6d1af602.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt index 2c1d53ce4c..b6dd10ae4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d73b823f27173add.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt index b0b44e8e4e..3c31cb7614 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d77ba88ce2553d9b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt index 141d74ea1d..e118548865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d794093c16027d04.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt index 5cba634421..fbf1c6db93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d7ffcf75a79ab366.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt index 430ddb76b4..79e7de674f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d87ea6b71573f2ac.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt index fb5d85b76a..d202cf913d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d883246e5727ab30.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt index 36e8e4e858..3e647babe3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d89db75876ceb58d.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt index b7a4be54c5..e8f6bbc312 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d91efac105621c68.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt index 6d023fb04e..60637f4b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d932f99c8f13a13f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt index 68e700dd50..75bd6d473c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d96570e7fbd41cd3.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt index 908d7dc96f..f88c97b86a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_d9aa484e68a7fccb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt index af8372f237..0238f541db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da22f3089f5b0814.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt index f4ac0e282c..7679fdf6b2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da617283139df772.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt index 402f6d6298..f338e6c4c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da6789b08b169f9d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt index e92bf39e05..f3814b4a0e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da8897ebb8784e2d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt index 5da03ffa2a..05739afda5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da96115322311483.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt index af96feb662..3d8bb8a1c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_da9b24b8e9bc0583.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt index 8709f39fba..9e2596ee9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dafd02a6fbcefccc.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt index 1625cb9972..ea559dcdb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_db4b0acf25630ea7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt index 2db627e34a..6b71431b9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbaa935a1190f66f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt index a4789adc77..5f84a21a76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbe0f975e2bc684c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt index 3499ab49ed..f950bbbc0f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dbf64ac344cb4fe7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt index 47ef83b66d..68f61870ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dc0886a61829b0fd.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt index f8b3c4fcda..4dc3766d49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dcc0b7ed2e5a6e29.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt index 6215f02e3d..8a241aeded 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dccaaac6244b115f.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt index d10d031f39..c3bd9ae2ba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dd0ee5b0c8cd3a94.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt index c2f0637ca1..71e428ac3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddd86eda076cf4c0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt index b89c953547..dbe1c93db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ddeff71a9b3cf261.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt index 8277a2bb8b..cfe5ac2276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de24f0aabba674d3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt index 40d0134762..58198df26f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_de7b1899726e8402.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt index f8e93b4b70..f84392034b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_dec85c1ed5439c19.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt index c4883aaf05..2639e5f603 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_df82e6ddad53d5de.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt index 19d5d8e3d9..a42bdcea0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0045c5b324a8c38.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt index f22d29fba9..443cf1c136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e03eccfc917d77f8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt index 255c32886c..f423e3a43d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e06ddd14adcd3568.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt index 80199f7cd9..d946fdd0a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0b1500cada1c6b4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt index 7e47edac9a..7cc6f598d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e0bfaae7c3781b2e.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt index 2675ebe34f..2f36eafcce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e110eadf0cd68359.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt index 26c473eb10..b9fbef2efb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e12336a23be92453.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt index bddc3a48db..38cb452613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e126575458ee4aa1.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt index 70b1cfdbd1..9a338d02cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e13506a79bdcfcd2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt index b81608b53f..52a004cf42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e16cfd70ba60d700.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt index bf24707bb2..255da5f986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e1e6dac3de0acebe.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt index 2ede00fc8b..0e37a5ad91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e21f2a2278bb2fc7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt index f52aa66d8a..850db76a24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e224d796c25ba863.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt index 0e46ac1615..b8aeadb050 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e249608ddaa5b9a2.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt index e9970de79b..93ef399678 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e30d5add6ea73af6.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt index 63934d1524..389a8733c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e34feb378629efb2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt index a4c9adb1c7..c2c66f3670 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e387c177c339a656.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt index efaa7e60c9..a29d9a11bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cf4fcd9442043e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt index 2f14e84938..344207138b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e3cfa61ca18d8d38.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt index b778a189e6..6d6f5e155d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e40acbf5919b0649.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt index aeaf3b4163..e906b48115 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4147acf90bd6ae1.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt index 32f2beef56..5e42b00806 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4157ded2142a665.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt index 858e592bc2..576c8d56a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e419c934080154d3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt index 377903d624..8b2c65fd5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e43482890f0efed9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt index 0b5bd71375..79f841b930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e4553d89cbb731f4.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt index 41610ad502..5a96f76495 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e467068e6ca0ff61.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt index 38e9cba27e..6ca0089960 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e50da49a47dc87cc.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt index 83fb0148af..66f1f81f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e53aaaec90a49199.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt index 268edc4ad0..7702af1018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e56f31bd449409bf.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt index da9495902a..216c66701e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e57a80e69d260d46.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt index 0a0f22d767..f1efe7a4af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e5f56ba207491782.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt index 40e119f6f9..09ccad56ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6240b1fb5be6acf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt index 3604702dc3..51c9956741 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e63eab4bf226b92f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt index 0b0260887f..05d1ece1f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e64b094c6a5c5102.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt index aee4421658..9f219bb7d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e659a4068e7e31c9.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt index ccba86bae8..4b5817d785 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e664681d0d43d7f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt index 85e58c2bc5..85b452694b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6902083efb6da26.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt index af8757cbfc..938bee9ab0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6bff376febb2d96.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt index 7765e408c9..3f50850295 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6eadfbb315ade9f.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt index cf8f8779b8..402381a6cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e6f6c8b6235cd59b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt index 7c4d72b54f..90415612cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e70176e0489e356a.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt index 57de392821..c493d7335f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e771787defee4a4b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt index d5937bc44d..9e7c531865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e793f2f212e89480.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt index 08acf9bd6e..77824f75fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7b775428eb9240f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt index 86f1e0c1c6..fd17e9b074 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e7d03c097ffdf692.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt index cd7795c42e..609f3f0eba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e8224c98b7673d46.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt index d60192bbb5..7cbe91b2f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e82368f327d3c64c.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt index cb0d361a9b..aee82332dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e837757415cf9a87.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt index 0aea3c29f6..5c8aeea6f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e90739ee77f59479.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt index acd0b18005..aabe819f15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e93ac5ecdd8dd0ca.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt index 6b81112d93..b27b5b0f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e960e1679f126480.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt index fba96b0252..0da8d08ce4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9618be5f9ed361a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt index ea1c36a581..63e949d5b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9e9ee18eeea2c6a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt index 4e80b9580f..a4d4f216b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_e9f123caf0dee076.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt index 9ac65d9a04..02318f0759 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea0b947d150a50df.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt index d2b79e4a84..4cd7b07993 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea3ea92fbacf24dc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt index 4edeea6e9e..ae704a04f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea5cf282ab8113f7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt index 8fcf0ddd92..cc6eaf3d38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ea6fe6dc9dcb8362.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt index b53546bb59..b027fdda08 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ead8d26ce2607cd3.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt index 7c5e53f5bb..4547132a4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eb442e78731d096a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt index 33281f5f42..47943c584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebf71e6be56c90c6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt index 08e437b6a7..fc0e16825d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ebfc93a613cf6dff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt index e100a43594..eacb5dba4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ec30ed4bf879e7c8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt index 1b12e0e6d7..b0217868a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ece7ac813f957972.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt index 34c2c5024e..94f3608eeb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed3822db65bdc7b2.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt index 34c5720a45..74d38bf3a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed42bf4f42cdccdb.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt index 079a64d4e2..8444857779 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ed8974d12fcd58d2.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt index d3931a1cc4..191fe6fda1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee39b4936c6fe74e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt index e6b2499c9d..cabe6858f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee519273ae3efa0c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt index 87709e7a72..f3173d3986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ee5f295ceb50175d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt index 4c89930b95..c8fc832bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eebcb11e9d0c1bec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt index fb1ed50e37..0705d5b9f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef3bd3b0553a82a9.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt index e2c5161b41..74058760f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef720282f80f163d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt index da5e5c6dc9..b9ef387fac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ef7b1c443c4d2b2f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt index e0d7056455..f6cdb4b7cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efacab428af8a540.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt index f5a12e8bf8..6bfb2ed526 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_efcf3f3288fd9f3a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt index 7d4dce3b7c..3486c4f079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_eff79cb015e434ae.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt index e50375b50e..b178cb59f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0cb1bc4c1868d05.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt index 20d2707597..912232c5bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0d0defc91082b1b.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt index 233fccc23d..58b7e3de4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f0f20b4d0dee5d9e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt index 043697b8aa..bbf1588a39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f11f7363f14d8dca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt index 0d7e348702..3ea576597f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1344614e2193f8b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt index fdbe64f3d9..9cd7b63b2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f13c0604f043ba83.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt index c4b7875193..4bd4441df9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f16a660ddc43c15c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt index 7e06b883ce..7ccbf86a3a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1b0c0a8b6a1e7fc.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt index ac59212898..1b50995cf6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1d44dd71d288957.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt index 94ecebb85a..e38d24b80f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1e0ff765a22a5a0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt index bf06237197..ae18d12980 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f1f54648829805a7.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt index 00f8ce7046..a6b0e9f545 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f22764bf85dd7067.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt index 4b6893691e..da54b2f64d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f23391beb1a84fe3.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt index b4f11e21e0..b5c4a2e2c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f26346ed293c1fd0.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt index b2774c1c81..12bcbaad80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2dba8f6d12006fb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt index 8c6f6646e2..22217be862 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f2de388451b846cb.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt index ce15f02cdd..32d2e88843 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f301c12f0099fa83.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt index 0327b1ea94..a104e79425 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f35ca87e848fe958.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt index b4c862b11b..a524f39e24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f36e259cea8673c5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt index 6a20de9d98..abc692c624 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f38e9dab6ac824ed.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt index 33233eb3ac..4b9ebc31b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f396c3d0094f3511.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt index cef40c8dba..7671004110 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f397f2a2b36d12c5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt index 88bbedd201..89619c0fe5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f3b4556818570ae6.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt index f80f59d620..81f2882925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f45565ee0aefb58f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt index 1f7dca5332..176f7cba3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f4d81be4e42d003b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt index 5818d73fb3..e3e703ba0a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5012163c88d6f7a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt index cf669e8b12..c7897224cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f5cb71c3dcc47563.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt index 9f8816caa6..ab30011248 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f61b10fdcf0f518a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt index 87b9a4f747..fdc972b9bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f620a7aa9bfb56b0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt index fa23bd1a7f..8908db3dfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f67051ace0e3fbed.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt index cc26bc1282..aa2229b017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6859535ce1bf3a6.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt index 4c9c9cf67a..79aa7406cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f68c19de8a394152.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt index d0bc2b2c73..0df503014a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6b60ade6a11fa6f.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt index 6b22970f61..372827c778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6c47f6472ded299.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt index 927d0c5077..d64abff6c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6e158a4537ff6c4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt index 4d5a9a969e..7973315bc9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6ec22721fee54fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt index e7e584d708..bec9cff0aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f6f5b66c115cfe4f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt index ab7e4be2b3..379315bb01 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f73d1178640672c5.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt index 33fa3f2efd..cecc77c479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f8fb4df98fdc6b64.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt index a864149764..83943c8e6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f900b4d5e2f0e655.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt index 56b836e5a4..3865cb5fa9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f93c141db3998dac.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt index 5bef7f0130..73969c7092 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_f9c7a1815b335404.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt index c1340fc79c..e80d0a40ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa336c022f1543c1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt index 4f2fa3173c..56722dc5fe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa4656d0f8876774.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt index 46414ff17f..e869c5741d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fa53b606e523ceff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt index cfc8fab710..58b5047bc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faa1e6703da506fe.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt index fb73267be6..cd6998ba2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_faf49716d0cf46ff.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt index 43ad9ad6e3..a44027f979 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbb53840fa015194.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt index 6f495c1b5a..669af94775 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbdc6d16b8c535c4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt index e8763caded..20916e8aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fbf26a4b7ceb8eba.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt index 4139bd6479..6181769667 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc06b5017bfaf9f9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt index eebb26d9fb..70a6ff11db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc0dff4be7b8f19d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt index 661a6d2a82..f07df8795a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc4c0e372635b0dc.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt index 704deeac92..8266c8602a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fc587ef5e7021a3a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt index 56a8b0fdfb..519067ca74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fcf161275df488ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt index fe1506ef1e..f2d70bbcb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fd0b3567be8115ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt index cb3ef1f754..e462c055f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fdcce74b1bf18b70.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt index 60bb19119e..a1e293c0bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fde1254e77d89b21.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt index 77ae1280f8..b324d7c225 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe306410050dd481.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt index b8af507145..20308ea832 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe378db7b3dd5824.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt index c32724f430..2e9a7c86e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fe40f87af1f241a2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt index 22da493f7f..fd46829a2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fea89883ed414cbb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt index 0d0d390575..066030dd66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_feaaced6d234c67c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt index 1b1caf8daf..30cf9bfb54 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_fef7c5bb53311179.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt index bc1087a8f5..4df2c40973 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff05c6e0200c7b3b.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt index d556ef075e..345770952b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ff12c2487827736b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt index 9a678bcd71..fd8570a853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffc1d2d9ac4983a9.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt index 0857734d35..0100392f8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_global_config_level_ffcf94ee020af0bb.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt index e11064b6d9..9cf421510b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_002d5cd48fe758aa.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt index 5bcf4ddc15..8d64e203d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_003d2d0cb66151e4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt index 2c2e95ead8..918dfd3776 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_00e96f66fdf0ffcd.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt index 082695ffe1..6339c722dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0116620100e4fd9a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt index 103d29e0da..7ea3ef541c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_012fbd76e82e3f04.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt index 28b780bbd6..75b54fc06b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_013db1f2eef4f91e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt index 4656e85ced..8d435ba12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_01401de07f3182bc.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt index 3896dd2ae8..9a65ba05b9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0289f598fd443b1b.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt index df9a569672..d57dc41f79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02a550ee02020578.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt index 6797cbafd6..cfaa0714c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_02e20d7371e19230.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt index 9177c7d618..008fd15848 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03359f6288338ab7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt index 735056358e..9171f1fcac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03822c9f0e7deb11.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt index ed07e6f61d..c33bbb6676 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03f8e839d8e284cb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt index 4e0dd38664..c227a9ad4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_03fc21edf421ede7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt index b2c06b2aaf..3649705b8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_040f1bd3bf23f4fb.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt index 17a7645988..7c0e431fef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_042a5ffde11af2ec.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt index 41ccc1c699..24da9f001d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04677d6c7f10ed16.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt index 1a4faa9cb6..23635ed84c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0491737f093e26d7.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt index 4502c836d3..3e78930022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04a077b65b8f5d8b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt index 0b9bc20c4b..83e59e341b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04b7c83e89b12fd3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt index 278d4331fb..9db122ca33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_04ea23c5595cb8e3.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt index 125ff0cac0..284cc22790 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_050c26fae61c53ab.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt index 2021f51007..5ba38c8ace 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0519fccfe1fe9064.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt index 2a7c97474c..bcad0350a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0551d8ef7b81bc47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt index 8087bcb338..bca1b827d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05a3572c175fa848.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt index e844603c4d..7c1ee67b0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05ec053f3ab84d9f.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt index 0a9000e12d..d0c3e91f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_05eed801871b7f26.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt index dbd843a8eb..ecab8bc77c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0607d7304535f83e.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt index a7c55e7cd1..cbcd168aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_06321a22058a68d4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt index d4bb39004b..0491760f53 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0679898d7724c514.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt index f9af23ec42..f9d933584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_069111ded709ffca.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt index 918ff81967..c0e8cdd0f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07152ddef446017a.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt index 927357cf71..cb765424e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_074a789fc2cbeb86.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt index 225d8d2b1f..9d953df613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0785770b3467d282.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt index eef485c2f8..eac4bb5af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793e334fc6ef863.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt index cea9cd0ff4..23e4afc82a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0793f8891f5a59e8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt index c5303d52b9..b180c8c036 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_07b2e0ae432f019d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt index d8bb5e04d2..c353c0b3e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08412de94ddea904.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt index d9c0085063..d0b305d304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_086efd374d152dbb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt index 18a9711ee5..b270032e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08b8c765370bf76f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt index 1626a6aa18..37b4c95800 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_08d4579b70b3647d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt index 82db563b84..e3ef96b88f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_092e0e87f53882f7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt index 9f83fe6d00..79894f0394 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09a9f0db4d759d83.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt index 40a66e5bcd..309b0c4f3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_09b82a466b556566.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt index 880956fcb0..8e220152fb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a52ec62740f823d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt index 6758b08dad..49b6cab79e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0a77c43e358be007.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt index be365e4dfc..2f1da93c5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ac0d75b00e21cb0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt index 3b38b629bc..2beefc4234 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b3f34a186230f44.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt index 0ca5c4da13..e50a6a45c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b5d4e46ebad4197.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt index 2fca5c8349..4e5d75d693 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0b6e67ae1cb364fe.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt index fc00c53137..1102076383 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ba3a6ca2f09968a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt index bca0c37745..f5dc5fbd4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0bf9f05aeeca580b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt index 4b7388794c..ae688bc533 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c2e5b75af6993eb.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt index 33408efc20..1e5637cce7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c8541f90aea6b2c.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt index d8762ee327..70ba378387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0c9cc8c523e2ebea.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt index 95808fa715..beceaff5e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ca4e7c909c44b49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt index d24bf102e4..13381927a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cbed81ce9504056.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt index e21de0141f..7fd180211a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cc8450968f9655d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt index 423aebafe9..3e183a817a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0cfb36f44b91cc38.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt index 1ef0b8c38c..e36b67baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0d5171e1a3727069.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt index 52663b0fc0..401a8862eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0da638765ae76b89.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt index 1276c9459d..72f2539815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0dfa408cb6b487b4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt index eec269c471..72ef7fc296 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e18d99e6a1f2348.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt index 9448ff208b..49f781568d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e4957a856d8d6de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt index 7d3229d493..22812c24d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e52a77cc61be994.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt index 27140d81ce..04c5348153 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0e9f3301e1b2f672.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt index 7af8465f7b..463419b132 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0eaa64f365d9f429.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt index e46c27a82d..37a76a8dbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f297fc605923a63.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt index 6a5d019734..856a9e2bee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0f69a961dd7177e4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt index 4b5c188df6..b8bf39894e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_0ff0c1b0efdd99c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt index 00ed87e3a3..9bc0e69310 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1006547a16547362.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt index 006a43bea1..15b6a13d4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1237a03d2bec9c92.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt index 5bb8763274..ebc06b8bfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_123e571821f25081.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt index 1226ca5ba3..4fb49a042a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_128a02ef0549fe75.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt index 930a1aaa25..9ff0a2a046 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12925dcaca6c433b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt index 79830dd207..e4afa93af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_12b2fc91218bf5c4.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt index 6169d0e156..f22c3b14cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_134f65bf8b5cb5dc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt index 3b90751a1d..a8e4c54a51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13f5f51e3c483872.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt index 9d9468cff1..ef5731eb06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_13fe4c05ea4ca97c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt index 2896e23628..719623cb74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14195d4389bdaec6.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt index 93efe63463..3dad964fad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14303f6b3e552f47.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt index edede1fd44..91149f461d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_143071b0865c202b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt index eaddcdf1f2..32955b3c5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_145b8f8d82dca22a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt index 46f43e43be..d0ee081fe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_147b0e6c90d98234.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt index d226b06971..e915e6d0ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_148c44a1028b0928.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt index d85db40e3d..887b078494 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_14dc0f676341b93f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt index 07258e12e9..684db7d553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_150e1a500f327d5c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt index 879f72d0b0..fb31ba16f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15165ee14034943c.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt index 275bbc2555..01df0de9d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_153c9cc5b072b167.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt index 66c25f146d..2c12153c5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15680a9d68dddabc.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt index f4c7b74db9..7f036a9ee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15a64028ce46ef19.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt index 08a58c3c24..2c3eac0078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_15ef77dd832e2466.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt index 54abdf4ac0..c79d0500fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1632a22c6349ee7c.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt index 7fb1ed83fb..68c878deaf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1645ee38b69740c7.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt index 7432a13bb4..803961373b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17045035b52a9e97.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt index 448e17fdf9..07d6f5167e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_171b2fff6e43628b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt index 057dda4b72..acd3976d70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1771f89988907e67.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt index edb204e4a3..e40f6ec74f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17828df9ca09212a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt index e96ca65a78..5e124dc809 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17aecd2811eb19d4.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt index 7831d99022..560c642a67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_17c4ed9b9d22b6a3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt index 619a511374..8ced2ca445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_182258d3a7058d60.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt index 28beb1f61e..22ee28d2e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1844f4d95b814b66.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt index 8f05b8e3f7..5451e3f91d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_186d320a5776cafe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt index 0a0cdc58e3..5d16d2bc2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18db0facb56c1399.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt index 1e1d97a2ba..4ab896279f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f2eca141bb267a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt index e8ebe655a3..fd893cb287 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_18f873c652aac6b9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt index 69596a708a..a33e852af5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1900a16b8c80fb3c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt index 5823f82907..fbe1bcaf9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_193c2e2ffa8f0890.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt index 0029b220c8..cc33d7729a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_196fb57a9e519a45.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt index 9688d752fe..30254e90d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19730e4040f30912.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt index 2002b3cc98..da17b323c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199dd5c833602d61.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt index a7c684d03c..4a760527d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_199e53d80f5953ea.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt index 439cbfcf5b..8c4dda2641 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19a0fc5e1a1214ff.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt index 858c5739db..ed876c1fbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_19fc354a35ba2f31.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt index 7a22f9d3c0..8d47354ac7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a33fdad9019ef8c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt index 01ae38d8cb..1b3b804020 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a8a311eb41a5103.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt index 69539e1a0c..67bbaf7e62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1a9aea462c583783.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt index 6e6409d3ac..8283bd1c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b02354eb9e85de6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt index f74a53c903..07c74998cf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b53037f09c40944.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt index 955cfb6f21..a5612e9b06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b5ede882203b8bc.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt index 3a1ebfb3ff..86a1906782 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1b81bad1e978483e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt index ea0d6ede2d..c2c6f59d23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1beffee6bc74528f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt index 96e2b05568..761b289059 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c177d6b1e0c8284.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt index 12ea3e4dd3..a7945422ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c6dbc2accdc3f5d.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt index 888946096a..d21c3d300a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1c8865781948d226.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt index 292552d22b..5ef79849cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ca9311064bc1f6f.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt index bd0e9ce60c..1c63c62ad0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1cbd715b0cfbd2da.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt index 686e3babe5..703c545445 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ce1eabdbaee8704.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt index b6c208c6a8..f0581a2c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d36007a9b4243f6.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt index 32be4b2ee1..b9dc1dadb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1d5fac774b696c4a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt index f83e416ad9..e59a209b56 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1db349b21f4c3a16.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt index 47a034d525..dfdfc9287d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ddd033b86aecbcf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt index 029d3b0520..173e64f623 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e0b1c90ff000478.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt index fbdaa28964..ae95e7b05b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e459c5e4a6c783e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt index dbb432b5f0..b3be01f2cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e6e87b2bbce0cec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt index 76f6e6d14b..246138c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1e8225ee5daa3e10.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt index 02389d222a..647fdb83bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1ea649ddc12d2ad0.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt index 50bebd4e11..4ac0f39d63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f1c799434426d5a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt index 79800d5fd1..0535d7d94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1f8a564b588cd2a3.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt index 478b76ac23..3d9aeff1dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_1fee4120bb9d2612.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt index d5617d9842..c4038a4e35 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20039b8285b3422b.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt index 2d92a4e6b2..9b87cb4591 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20275015aea2f4cf.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt index 79566ea132..13c08900dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2047df92b15f26ac.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt index 3cdf431958..17f1bec0ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2056840d5f5891ef.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt index 5dc8befc13..38e4278c86 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_207ab1271e0cb6ff.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt index 6d137084cf..cb87578699 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_208ce209b700183f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt index 1809a5bfe5..eb1591699b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_20951901d0e8cf1f.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt index 5dadfcc5b7..7ab3c90a7e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_213191bfdaf92b61.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt index 27d954c795..76578ebff4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_215fd6848e5070ac.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt index 0c17fbea2d..c048fb7648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21942cf39e1218a1.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt index b65aa94a7c..cd06d50af1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21be4882bdc170f6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt index aa5e04bbb1..05c8522467 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21c26092f827f96f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt index 6984aeafd8..788a93cc47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d03f7364f0bc0c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt index 451dd44b1b..ebfd3ed9dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_21d7861cdbb4fcc7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt index 4cd2302861..6f4694c02f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_228316522d7b41b7.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt index 47f8242000..f4c2fe7462 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22af69314c41f8ed.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt index 1959ea47b2..626c7e0079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22e8a7a673050219.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt index 076ce2aead..d73784ba3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_22f2fddf8bd7e38c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt index bb081a6c4b..197c00f6bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_235169cd793f8073.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt index 97080add08..a051ea8341 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23c7cba46cbcf30a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt index 3f295da633..ee99788728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_23f02e762c0600f3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt index 20b688c112..bacddf2136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_247a2c57ff814a0f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt index 3b23b9b71a..9eb52d6f5b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2529c0cafdc91179.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt index 4644c97879..aa5864bee5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2564e7908ed9dd7b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt index 9ec82df6a7..fbfb12c763 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_259d6867a8ed6171.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt index 586b72ceba..b09539f668 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_25fb69ea149c90c9.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt index e991e6a878..b7c549cf06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_260922a3e0d8581d.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt index 020521e2d7..026bc233b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_261c870f0d111ba4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt index a7f9165878..ad2caca6b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2645194458be46c0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt index de5efc6256..ba5c2e3b07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26611301a98bed1f.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt index ccef73b86a..6286662b9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_26b5d436d596c154.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt index 8f7c715395..c5fb116844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_271e3f56b631901b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt index 2d8dfe7403..fa5f62ce6a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2744efb4c154b799.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt index 0df12d3638..a54fa2ee47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_278fdfe4440baaca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt index c0cc8737db..16a4cf887a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_281014695868ced4.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt index d3f8329241..ac7a0bceb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28304c74c8cfa75d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt index 57d4e78da0..ab934ff7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2852cf494b22cd28.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt index fe2028ff99..f8f992bb3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_286c122a8fea7156.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt index eea614a0e9..4ff4a61e18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2874b51ad7347d6b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt index 4eaf322fb0..71d908debd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28d3d747f0b9552e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt index af98eb84b0..38793289ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_28e9037259018983.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt index 969ed527c1..c7c85661ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_292eade54209a223.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt index 6454d40c24..ad353b722e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29399418218bed92.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt index f84d91ef4b..1a983dcc95 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_295269260cb69114.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt index 0a1f8996e3..ce655f0bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_29ab68e235c1ec2f.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt index a75df6fc96..266cf4ea8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a2224cec9866976.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt index 5eb6af8434..a08167ed69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a4b5767b0858093.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt index 575c2ae837..65623e4772 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a7209565afdb641.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt index d639877bd1..9551df1b70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2a8d5fcbf3859063.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt index 737bdb622a..548fc1f21b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2accadc708086ab1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt index ee0144eefe..6ec4aa14b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2aeb892fab480136.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt index d1fbe1dc90..b32b18b2b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2b2620d8e04c8893.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt index 9f65ed1a5d..eb8c7d9018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2bd32f7e28f0d6ad.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt index e3865ceed9..b64022043e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2c05548eaede0540.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt index 85cce5c9a9..ea0ea4fb5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ca058e130cdb067.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt index 6de385ecea..8ed3481ddc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cc409245afcb3a2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt index d335a7b40b..0d1c5e9e1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ce12968fe1903f1.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt index 0198923234..50bb68569f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2cfecad6e3207109.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt index 399ff06b85..c1f8682e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3428daff799fd5.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt index 5f966f1203..7649146d36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d3c73cfbc650a61.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt index a86c19be58..6d3c00ea89 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2d5d89d8dbd8071e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt index 239b384b3b..98bde00a6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ddda2c35419e09a.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt index 876130827e..3e2e93562e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e0216cc5e9a7b13.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt index 243063b9b8..44e9986243 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2e1c6b84847c5442.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt index 9087a96b17..8f19f94815 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2ea0d2ca06caabb0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt index f7d18c2400..42593f669c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2eb835125bf877b9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt index 136d445fab..dfb1f76a43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2f531460d2852c3a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt index 40488bcb90..ff25ff4e15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fdb9130e92712bd.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt index 60a65be2c8..207cd6151c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_2fe241a334b98d7d.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt index 498aea236b..d2b1669534 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_300eff856597e449.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt index 6b550b8332..34cb115556 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30568166dfeb54f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt index 659dda956c..fc332b9010 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30eff587f009df95.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt index fe8102ac70..0e74365372 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_30fee62819f6b388.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt index df795a7214..d722210cdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3116e1b838e6677e.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt index 7c6f0a5e5c..8cde27a233 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31465aa51653700d.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt index d2beb47c71..716ff9f104 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3179535455019f31.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt index 2d0f59e30f..caa5d702b6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31929d2b3533247c.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt index 4730d23a17..684231670c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3194a3a5a51ca764.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt index 275bb4edcc..24f3523fce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31aa86e44a30cf0d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt index f465a531e3..acefd3ff41 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_31bc366c8ea5cc25.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt index 4353079382..747a634190 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32cac00b30f4b51b.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt index 3e96b60ccc..08631ecef5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_32da88f0637a55d0.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt index 84383b078c..9d0d801f93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_332a163a340f14ce.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt index 47ec5904ad..c68c5c1c61 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_335a009f15c732a9.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt index a8e78813fc..265173151f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_33768261d4243105.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt index 6140677347..0489c361f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_338e0a38bebabce5.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt index 3f8b43291e..a117a158a5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34243c5faac034b4.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt index 5f1307ae42..479beb1d44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_342733679bf5f94d.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt index ab1ce7de75..1de6d43aae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3468176ed8be7a69.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt index cd459f00a4..72787e3873 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34683f2d9d4efabb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt index 344114978e..214580f13d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b789fb3755a83e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt index 27826f9c9c..f40262e984 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34b92ea726adb335.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt index 0756949af3..d51fda264e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34c2683459b46d85.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt index ebf6f334f8..dd66ac18b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_34ecbac7acc7aa4c.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt index c0606a35eb..05e24fd1e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35898957647d84e2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt index baa2fff5ee..03789cf888 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_35d30223d64defae.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt index c70cd4cc66..c560d8de60 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3694dc209915e706.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt index 936828ad66..f8f8f28c1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_36cb928d06f0829b.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt index 3e35f4d175..73629dff49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37014a9b6768c5fc.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt index dd20415132..8a089bd761 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3703343d8fc609f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt index de602fc193..43b161f49a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3772ded7258060a4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt index 932e247230..1ba72bc30b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37ad59bf5cfb8004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt index 9b0f021032..536990f46d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_37c42986bdb2b73d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt index 663c159202..ff2c88c703 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_382b8f6d82aba32e.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt index d2c96d4e50..cda3dd4b20 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_383d41e8bc56c056.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt index cd5175e42c..95de9dd048 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38943aa04993744f.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt index a6884c2957..94db6698a0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_38e1a10efbc8293a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt index 9d35f25969..61854b0c2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_39840509b03906a7.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt index 6f4eb13c79..941158b52e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a0221055e119438.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt index 723ca84d3f..f221ac32bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a32cd06109e810c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt index fe636ed8a7..14c595756f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a5047a6c04f96d8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt index 330e1172f8..d5e195ff45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3a93cc37b32e94b3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt index b2aa22b0c2..3a8350c8bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ad92db3c912ca17.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt index 06101d7bc1..ddb78e9fb0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b1a4290846be8e0.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt index a377c05572..691f47a9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b3f53dd77a4cc44.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt index 714bfcb6cb..ae0aea6c5d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3b78a29543ede443.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt index c158c43837..4791a1338a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3c8ed8eae8c3a191.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt index 3227d8c8e0..b55dc9c997 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ca4ec974a98ce93.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt index c4a00814f4..011f1d4cee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3ccb897cd1349293.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt index d5f544f1a8..de1374e375 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d063870d0c74f42.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt index cf6f709288..16ae1ab0b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d2485664cc236fe.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt index 383e8d5cf8..e0e54c0326 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3d710288a019f048.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt index be5f6b3b22..79c511c36b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3db061fac1d4fedb.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt index 469e03ca45..bceb57e5fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3dfe67a2b6248c98.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt index 1b16368e32..e0f0ae3361 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e95872e492c937e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt index 90acd774c0..9d796cdf49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3e9de609a2aae942.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt index 0b838ead71..4417f63db4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3eff94995e47ee58.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt index 8d503a91c9..1b4b4e6fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168af0a695e292.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt index 6d202fcf7b..505a088449 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f168e81cf8ade65.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt index 1a63aac344..62aa226057 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3f8bf9e57603dc9d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt index fe2a20c3c2..87792f0ec9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_3faf072af12bd3d4.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt index a1b37a330b..eba67416d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4014359b7c8cc4db.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt index 17b9e2b5c9..ddddf7dc1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_408038874b3b2535.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt index e13ec43ed8..70ae937f13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40914917a856ae3f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt index 34de5b0b80..5ba0420aef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_40fdd634fdadf6ea.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt index 424d88e08e..fd2bfd75e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_414609e48fe26657.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt index f0960b0e7d..b4c609c463 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_417fbece372c9259.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt index 672405a8f7..15937adbbc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41a73b9b171b6060.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt index 0a9dcf3e6c..144c0b8c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_41bb0e875b4e171c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt index 2d339c561c..426c64773a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_421e7d510b5c4a54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt index 5f3b80bb81..961a621b1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4302d85c82e3957f.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt index 2bbe394f3f..8cba8eae40 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4308a457a615694b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt index af0898080f..f0c1c0abe1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434222db24264efc.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt index b960d358bf..a47dd6bee0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434c35b947addd50.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt index dd6eb9c8e8..efd97d26b8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_434cdf80ad36f5e1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt index e6ef842e4a..90daf22e9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_438ceff8f25d734d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt index cf8d4087dd..f92c7f4674 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43c805d53a630e4c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt index 7ec2921af8..a6cbfcfbfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ca86b4c90eb9a5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt index d5278fa374..06afad9a79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43ccda93fb34f87a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt index 332d83815a..08ee735cfa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e828da7c85bf6e.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt index ee9c9fcf38..42016d9af6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43e84152c5f403b7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt index c9794a7bd8..8a5bd63e5c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_43eda71639fbdeb5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt index 325ecb2cf2..fef7918bb7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_446975e6870743bf.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt index a2b3114a81..6d64857d33 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_449f2764e6b9fb50.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt index 49cf398a31..9a75e3ebae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44b1b8e5ec45f12a.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt index 8e52b4bdf2..d5e87cd9b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_44f041bae9639b52.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt index 16adad5931..cd8fad47da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_45b283e822620442.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt index afa9f11cd4..6d9bcc21ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4668268cd71e8431.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt index ee85d5e5e9..ecfb7a2572 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_46e0f2bda685ee7c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt index 7f769619dd..5d178251f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47b9d9a6ce8afa2a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt index 2da2aae047..93ee5c0491 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c20f17eab9b960.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt index 7e742d3753..cc68c0db9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_47c284de9a4136a4.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt index 830e6dc29f..a82a1e1927 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4841829b0f158dd8.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt index 806b75e1de..5ec9f8ead0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4889a308b95fa589.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt index efaf3b94e4..9e529a436a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48cda1840f5b240a.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt index 56695bde94..f1051384fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_48dcd0931f84d443.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt index b25a5a5a59..d89f8a40a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4909d71a3ec49747.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt index 44a234a398..4d5e1182da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_490b3fc53b31fad0.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt index 03d8b772c7..11f9cf81ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4923c9771089082d.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt index 73a20956ea..1f06b2716c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4970b602c9ab0e26.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt index c0d65876b5..8b455f45eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ad833549b12c26.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt index 21d764275d..eae21bf861 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49d7e9ff103bbc51.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt index f32a86f373..e7309ac926 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49e8f01ea7a363ad.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt index e47858b0e6..2d2e4a04a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_49ed4aa2c7b73924.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt index b65eb787f9..51354549d5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a391d871795c2ed.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt index e8f55b3b10..9f381455ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a78fe4993b48bd8.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt index 87e5e7925f..db8349b1e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a7ecf688571652d.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt index a8d2363886..1cea4c0085 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a8dfe9c08616a30.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt index 2a94ea2967..2d9088f94d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4a920f8e6b647efc.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt index 46aff9ff54..ae8f33c3c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ae14db179ce6442.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt index 227675a74d..9962ab601a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4b86cb021d6172b2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt index 324ce79916..e48a24c223 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4c579309348b97c8.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt index 8693242b4c..bd09b77350 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4cc36a7fc18ff98c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt index e93fdad334..d7ba359477 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d32b00259887c95.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt index c19c7fcba8..c85ceeb121 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d49d108804134ef.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt index 401cac2d2f..88b5dc0e67 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4d8d834b2173d42b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt index aa6b5e4183..abe0f91e85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dc5859b3fd630f1.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt index 319c37b4bc..a085efd663 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4dd0abdef35f8678.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt index b863a31d5d..f6e3a87334 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e13642bf696b28d.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt index c822aa61a2..35a910dddf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2a1c7b7dd3f886.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt index b564d72f35..7886010dea 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e2f22127fbabc9e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt index 096701cf34..4e84c211de 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4e90cbad4e254d8a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt index 68abbc3429..69db1ad53c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ebfa07df0ae8247.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt index b32a30c128..6b29e41f3b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ede022de5059921.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt index 7d57184d38..08ad6a8a5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f32ea6a14dd642d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt index d3ebb2d26b..138f9d6ae8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f430bf2c3abe6ed.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt index 4952c4d2af..08d6083e57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6368a329777588.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt index 2466e2295d..0cafd735d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f6f88ecc62c2d18.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt index 3e84804021..bf295f5fcd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4f757e3dc345a6d6.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt index 862ad70539..16bf237a5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4fad923958715aea.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt index ada87c39f2..ea1c7a9ef4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_4ffc820bd9f027ac.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt index e2ed5350ec..f0c49460a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50a6af1e11b0318a.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt index 19bc6786c0..84ae8448ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50b916edf97941f5.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt index 8e295f8755..a0548e7c37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_50e2fb5a4e6dbd16.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt index 30863a8605..7e63116c93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5107e9033bbf1cba.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt index 3b56cb7db8..3ac71cf817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5189be4c6f7fc47d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt index 6727522633..2a7487110c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_518ab90b1e1c7b8e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt index a81d172b6b..a9aaf308e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51b126a6fe0ebe6c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt index 50fcd3469c..46f8c4b6a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_51f597b7d6d4b2a0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt index 87927b110a..9ccf10e0c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5201e622f66c84b8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt index 0cdd9d34c8..1683da13eb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520b95940ae6fb71.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt index 046b5b63d2..6a1ddc721f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_520d15b251663de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt index 5c7157261d..0fa6552384 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5213a5db03dbeef5.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt index 7d83413d28..f9369df405 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_525460eac3675c58.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt index 1e5ff9d9c2..af813e10f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_526560811eb11382.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt index 909b5088f5..c0bf060fe4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_533dceb6fb18b6de.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt index c4661a792f..5a01b6308e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53403bfaff522f1b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt index a0e133d8ca..23a7f24ba1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53f8b5b771e17501.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt index 453a862136..c83355a841 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_53fed3db3b4c1704.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt index 449f13ecd4..231f68ba13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54382f89b64a6cd5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt index 542a84c80e..1f5e8d0f14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_54570a6446a67625.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt index 19b6c9e1da..86f520dbe6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_556ddbf73d404cd7.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt index f852e85e08..d4e4cf6400 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_558da4bf742bdd0c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt index fdd7b16cca..fbfe36ac58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_564ff9ff3afdf0db.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt index 2a8f29788d..631af4699d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56ad76baafec1037.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt index bb6d325b7f..ebea397a8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_56e3640fec47c739.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt index 5c47def6fa..3d49134e6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_578270707a743649.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt index 0de3affdb8..c3c62a4573 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5788cead851636a3.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt index a269d71c64..d19c545bdb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57be41d86bcdf3b6.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt index fe9964dfb9..360ead4fe8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_57fcd364458c5825.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt index b61d555564..bd8a32b4ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58551337a41f932d.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt index 04549591a8..fb7d72d5d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5871f8fae30f854b.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt index d4ec2d725b..6983fd07cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58a72b30a198218c.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt index 9881f91ae1..95c02dc770 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58be7dd3babe5e29.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt index aa27fbcf0e..6cea827d82 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58c3c540cbbc6059.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt index 07173340d5..8ade7c2ddd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_58f311890e243a66.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt index dff0907f03..884da8b59f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5901fa774c05386e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt index bd6e0e0a40..d120145962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5961d85ec5e2833b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt index 48793db347..9638e8ab24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5994179fde12124b.verified.txt @@ -371,14 +371,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt index c0170a1ed5..e9c635b395 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a4e79b41953b158.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt index 156818b29b..6ff7d7ef8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5a774fede1a8b693.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt index 00101ade99..0e994b9743 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa38c97ad625201.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt index c9ed0e2616..0edc7f7128 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aa6095294b4e315.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt index 8162323b8e..b7af737f4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5aca2636f36d5a85.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt index c34134dfb5..a069b19fd2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5af19078558bef22.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt index ec68f4e9a1..de3a65f7e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b229a7250833d3b.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt index 592980090f..ecddfe9e3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b2355013c37f4a3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt index a3b1e619d5..c705f85788 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4d2bfedf4bf30f.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt index f557c0bd71..65b1453de6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b4ea340c55b0872.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt index fb1252221a..c08e62327e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5b601a9a850b9a5d.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt index 95c2e13f68..7b7aeb7fd8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bafbd037cbc4cda.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt index 6ad8b0c187..50a1da9b98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf05d24d75004eb.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt index 4d7b6b638a..0a31ed46dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5bf67f18dc7c4b1b.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt index 6e3f30087d..02b0eaf14e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c42d7c6b7b34b8a.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt index af2b4a002f..2c71989a2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5c5312f30d4818c4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt index 8cca0e39bd..653fab73b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ca4695a895071bb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt index 8d549aa6b1..fae568a4bf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d19523a7283dcad.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt index c69fa0ac1c..c4a05b8ed8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d1feb8b4a54fe83.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt index 56b2991fe9..c11537b468 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d38c1e1af59bb62.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt index e2d2b30f96..7bf49d6a17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5d8a68a445b61578.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt index 2462d31f01..bf7aafbd3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5db612bdfa130760.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt index 719a12433f..ef611d8a31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e025b806d1f6287.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt index 37d7381409..028bd7e9fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e46335c65f68a48.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt index 2a871886ac..1dd656fd3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5e891d27051bd1bc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt index 53cce2f399..abc52f25d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eb3cf0a765e83ec.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt index 9e53f648a1..cc9b36305b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5ebee570727caefa.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt index 1d0c87c6cb..e66d0719b5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5eef664b6e716ed5.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt index 945b7a9cfe..f0018a9cc0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_5f69a5efefa4e515.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt index 51d6d75987..077cb0452d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6016e750234580e0.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt index 81be640fe8..fb35ef7080 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_601bd44dcc6dceeb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt index 2735957d99..a958e4fd17 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6049a1c6ea8c574f.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt index f4fe6f5739..ea73427e9d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6077a76c7b442f6e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt index e01129aa27..4553e699ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6086c56527d5c686.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt index c46512d552..91641c0b96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_608e6edcd10a3d83.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt index 1066b0c849..09f1d08f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60931bab81fd88a0.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt index c9140b5dd6..63fff253d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_60c8641bf80b27e1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt index 26ddd010c8..e7e99a2d1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6112ac37cc3b18fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt index 77d240c0df..0795833a30 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_611d9befd71a5b90.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt index 4f4902050b..a74557c938 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_615502d945ceb714.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt index 0de6d7cbec..a585b759af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_621eb62242ff1655.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt index 957e4895b3..d36530c4f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62512b185bd25154.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt index fcae7c9db6..0c94496a48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c004614c56dfb6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt index 767062ef87..17cc85cf69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c61cd9e73e4389.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt index fc5926fbe1..a3a3139a44 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62c6bff3063056da.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt index 9b484fbbdf..11255bfb05 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_62eb66e88264a125.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt index 71dc1b8cfe..6fb4e677d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6357244baf093f12.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt index b596fcfb30..8d3e9506df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63ab180610a45df5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt index f7643c610a..805d27e9fd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_63f82c17dc6853ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt index bb2b96b7ff..a00e54a42b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64175d46d7146515.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt index 925aba54d5..617b15f2f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_641af3ff9a203f7f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt index fa1a8db34b..419ab1bd48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a35b175d7f7ebc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt index cce0dcf259..7a88d7a052 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_64a62c4ab79a9392.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt index 5e4d01e75f..dbbd3c6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65038f18d261e3bd.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt index 04de1b3cad..eb4647a6c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_651585a49f15ad93.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt index 926b632742..ed7859fb5e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65239be7d65684a5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt index 0486b9647f..ded344f55a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_65f750d6ebb96a9b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt index 14b3f76ad3..b42349f06f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6622e6898bd2a60c.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt index 7340cad906..c25bc4f4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66503a7931701755.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt index a0552ac5e7..14cd73a978 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_669b65892cf5fabe.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt index 045740aeb2..6736994ed3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_66c9a595c22a237f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt index 77c5841672..d4619c42e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670ab20cc57d42b1.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt index 06a35b1e35..4bf78469e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_670bc0a52047edef.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt index 1e698da26f..a59a52d399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672b95c1dbc627e7.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt index f15385b122..1862c10bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_672bd4669fd59744.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt index bee16622cf..30c3fa34e5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67ebb6544fe6c27f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt index 47b571e953..55eb281f37 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_67fcf919d818990e.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt index df765f76ea..5e7c632d51 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_68361028fcc5b28d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt index 9945452169..337aba1257 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_685a015000e838ff.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt index bcb032ca2b..43d418ae48 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69c9a47cf814b2ec.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt index e395ab7972..eebf17cbf1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fc2f9aed9bdedb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt index 0ad214dca6..29d9ed57a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_69fcd2606de7a2ef.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt index 568413c911..f7e87dcf4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3161ca50c7bbf6.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt index a84f6b8de1..e181d4570c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a3fa153ba2f58c4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt index 8092daf264..4fcde70ff5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6a4b03c335da7014.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt index a2460ebd32..f241ce1684 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ac53561d91a91d8.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt index 9544e7dcac..5f7c4bed07 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6aec4b1979c2a7a1.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt index 4d4fb338d1..8c3534c4db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6af92539ef70b33c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt index 36d9d3c063..ab7483ebd0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b0a6ed8147cbfdb.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt index 5091f96b1b..5a9265985a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b4e57cec8ffb63e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt index 85383ec01a..0d632a2cce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8c42be7ead2777.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt index e0eb9e10d4..a5e1d67db5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b8fd5857fb466ea.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt index 9e0a032217..61a646d94c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b93f58a6c8e2866.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt index 8a8df5fc08..4c9215d213 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6b980c0ab9b89786.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt index 744eca299e..964844ebfd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bd32dd61fdd73d2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt index ba4a110b89..6f255cef42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6bedde57d52182e1.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt index b3afe8abfb..841ec1a471 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c198b9ba248881a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt index 76113dbff2..decd673fd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6c472d2da5a96300.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt index dc2cd4b7e9..b3ec8ce5c0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ced1bfee9bf22da.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt index 3ecb0fff1f..d58940b304 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5693865c2b8d58.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt index 301e6304a4..627af93799 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d5873dfe2f4e82b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt index f349900c18..fda57a890f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6d755d73435de6db.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt index 5178a1764b..a953d36758 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e35012a7294be15.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt index 23ba4bfa9b..5618927b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6e75a3328c558a1a.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt index 7c1541129d..0052e8cde3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ec01b6cd0f12ee2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt index 84df48f2da..84383217cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6ecf9d4c2948b0ee.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt index 96c1de17c2..668755e68a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_6edc0e333d7ca95b.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt index 47d0429212..9b3432ce3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7004a328de2e0ca3.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt index 3c0f2ed72e..d847bfadfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_702f21c7445d42d4.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt index 15d5273ecc..017ea5fcef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70ac68ef35e988a5.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt index 16995019ff..dcd86cb8bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_70f6d6cb63867d5a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt index db4e2e99fa..db6755c52b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71145c65a5055538.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt index a7d87ef14d..9f61dface2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_71e47d4e15567da6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt index e4fa706ffb..2b18c56fbd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7256eca2416a2091.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt index 4013ad34e3..22c50bf3b3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72b0cb9c39c87b63.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt index 954b52ba16..ba78a3f778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_72d2b1e76f447645.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt index a6157b06e1..a05f90c11e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_731d2ef406a0d5f5.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt index 6b673e3922..8cd0c7b2d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_734f1d13b7cdbc1b.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt index 5b2e8c3075..26828681a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73804adbc23469d8.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt index f99f25a10d..9056a09ca8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73a90dc69fec0a55.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt index 4835791907..2c937175fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_73b50d03548740d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt index 7d4f4cc2a1..984bc0e012 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748901131c830f2a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt index 2cba5cb565..3479e5ae9c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_748e699d4c94c206.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt index 7286698698..621479b945 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_749518a425a23a07.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt index c220717604..3c5b17a626 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7495272485356f8c.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt index f76aff5dc6..9e2488ff36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74a812b979852e89.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt index aca21b9664..81beab652a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_74f28d1e19ca5b74.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt index 0fd4544b50..c71d6bc9d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_752db732ecb59b58.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt index b6a7b651f6..baf284d05a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7560eef87cd7423e.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt index 5d4176dd0b..c4c3dc9f1e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_756ed6c87d399e54.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt index e9722ddea4..b3c224a479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_75d3e924cfc2a977.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt index 533a3988b6..c3f04bbca4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7610949817c70349.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt index c9e8e77439..df8330c4a1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76181d327aae1095.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt index ccdce437b8..d331746633 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_767903a02e8d245b.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt index c340bc1261..8ef9319ac8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76ccb3657e3f1344.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt index b28db6179c..0b592d628a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_76f4f8df0b31dadb.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt index 0438f235d3..369b4a6a32 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_776377d1c302c535.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt index 2283396d46..d3460ff179 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77a1076f1ca4b706.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt index 2945822700..b96203449d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e34035d0f5dada.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt index 9955a070a8..45dcbf90dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_77e93d2871a14998.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt index cae404e002..ffe597afad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_780d0bcf92b7fd1b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt index 65f7f8557c..4027c4eba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7841cd14d87aa180.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt index 96bf9eb77f..0d9915bb76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_784962401092a09f.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt index dcc4e07160..f2698fa582 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_785549e5f37cdc28.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt index e9b2ccb1e5..3a71f1a63a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_787f97f09fcd6848.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt index 41f4343d88..ff14c7a8c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_78bdba894c070386.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt index 212293a258..eda305fc13 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7928d0dcf2a2297e.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt index 6908ac9f44..a88bcf351d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_799de54ca22aa3e3.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt index a0049e7099..52a28d2eed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79cc52cbd2abcc8a.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt index 60c29d0e83..542c7aade4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_79d519b5e1f98552.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt index eacfb01961..576815c8f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a0d05a9249b753c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt index 4457570e89..580676814a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a29b132ef13465c.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt index c9626dadf6..4f05914d76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7a50710f3a13ffbe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt index 439647fb6e..e7273e05ac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7b4eb80c645cf2f5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt index e8fff79fe4..0e62e224a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7bbe9bb95d8a8d38.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt index e408a3464e..07a7e34a69 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7be5b701649dc247.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt index c1970525bc..2e7a110e81 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7c1c0bf2f29e0c88.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt index f955c7731b..d0c6e0ecfe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d0d1eda7ed7a804.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt index bd8faa6bc1..253171cad8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7d3904d3efa1714e.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt index 264a835dd3..e8cc934017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da06f0d215a684c.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt index 2a7b8efbca..0446adf50a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7da2f0d86c94c2ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt index d988287a83..f6f8e4c58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dbe84c313bbb914.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt index c80068cd47..f279b07b75 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7dc347eff85838e2.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt index 8fe3058be6..610dbb3ce1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e3816db922bc9a4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt index 98770d1e93..41f3c1c9e7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e488a7122cbf00f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt index b878639f20..1571e06bbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7e9392cefb2ad327.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt index f78e727e0b..1b38db6828 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eb7720a6b8de284.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt index a39cce45ab..b0f614f135 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ec18e2d00093057.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt index a755a09739..11f2ccfe3f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7eceeee16efad14e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt index 89d62ef2d9..5100b6f415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7ee4864d34f0da96.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt index c1d32a0441..e1facd0aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7f4f0f13e9930623.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt index 65aadf0d32..7d8032f962 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fa89b333b44720c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt index 6f2780f08a..6fdf0775df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_7fb8a49d4f184ea8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt index 98901f4c80..3833b7b497 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_802ab878f0a204c4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt index eb6cdb3340..469edc2ba9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8043c15316a12438.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt index 233f730840..6b0b0a629d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8096173cf4c10c7b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt index e948bac3b9..655a4df0cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_80acfbba302d8f6f.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt index f74f9c856e..b400190276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_813e03ed99a26522.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt index 68fbf39d8f..2354d9d57a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_819f01ba9311fa18.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt index 1e6e2edcc6..ec4e832562 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81bd438b544b74bd.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt index 025ad4056e..804ff7aabc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81eb306e4b98152e.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt index 8bb8f46007..ed46680327 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_81ec725790703699.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt index dcdb0ed11b..ae3188b692 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8236af6b8373721b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt index 437aedde84..3d7a7570d1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8256717e1a136692.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt index 06c2e744a4..86945a8fc2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_82bbf1a8e6286b89.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt index bf79b41411..11548ce333 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_830785d672195aa0.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt index 33c6cd3a9a..e250815895 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_834310c7fc35f23c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt index 54672a74b6..a8c565a387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_839f146f1f186c59.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt index d2cf1df2b7..3e3f6f37ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83e3bd62e794f223.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt index 4339e0c593..56daf4d12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_83eafcb2c525d88c.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt index 07c268d61c..e46cb4ed0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8443e155374600d9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt index fe75211102..386b6e3335 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84569435b095aae7.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt index 9fea5cf9e4..4ce22190b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84cae70ff1e36dc6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt index 0680045d7b..0fc708fb43 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_84e052b9b15a4dc3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt index c3b4eeb63e..050026a373 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_851ae6b0eb11f8cc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt index 8b2df1c59d..aa71d5dc7f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85431e6f878152aa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt index 20ea8e0ca0..8a0a718c58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8543931d8271ea03.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt index 6e658a4873..854cf41aac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_857a000b885935fa.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt index e4ecab1b39..551ae42544 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85b94a1ee11fd4e5.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt index 8104c5b4c2..a11f318c65 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_85f8eafe9d8ea985.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt index 66d8c3ab14..3a66472cbb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_860dc6192199ac6e.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt index 369fcc1251..15e98d29d6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86105943e84e847f.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt index 76b697d8a3..7aac11372f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8639e20bf634e23a.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt index de76c50a3e..16cfbadfab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_864f2e0953315b38.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt index 372180b667..27ec96e158 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8655bfa3b8992c7c.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt index 9cb7b439d5..b97c75c669 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_866d8182e8bb23a1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt index 9a11a526c6..1da710da42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_86fc6d2ce139945a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt index a27a4907c3..ac06ad2aed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_871884b6ce15140e.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt index 9365c2d7cd..a9c5e29851 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_875b5dbafedda1c9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt index 0f5965ce69..d5899b2f84 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_87d6cabd2c87c4d8.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt index 31f6dd0560..53867c0dd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_883c9503e927010c.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt index 6b8817f629..20fa4889ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8891571acc26682e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt index bef3e17fe2..9974052a70 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_889eaff9287e3b3a.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt index b6d117b76c..4bd8a8105b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88a13a408f467096.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt index 944d92e45a..1ba877f14b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_88af252d3a9520d7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt index fd083611e9..5e1b56fb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_890cc6225e927910.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt index 4b72174d8b..1f81dd617b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_895270e942df83ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt index 16ad6b0368..9897e85757 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_89bd27009f1555fa.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt index 77d832d13e..7e628212ed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a09228131ea39b9.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt index cd5ca8f04e..2aaa301d5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a78c2d195f51c4c.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt index 4f86b6f197..bfd7443730 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8a9dc423d4ded57b.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt index 0105df5eff..bf065c8736 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8aa872f20216b6b1.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt index 92e52bf714..576b12f72b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b225313a032ee08.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt index ac8e77b3df..46e4c4a170 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8b970bb80581f61a.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt index 411c894c59..99e9b8a756 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8bc1ad81347d3c4e.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt index f98a44af87..bb6f88c4ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8c0f79f239648767.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt index 0fdaf63c4d..3292d06151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cba5794f0652371.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt index 31caaa7076..82c337ec6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ccc88fe6029a891.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt index eee2c4c29a..aafb784ca5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8ce699b98d2a9700.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt index fee510856a..5454c320f6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8cfed8dcf1321694.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt index 2399ff741e..b10dcb1387 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8dbfe96c5dd947fe.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt index a2b5a6471c..d02f32f78c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8df3b73bea61f818.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt index 8fd5b8e3de..6123300f0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e3fcc91e2f6ee7a.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt index 095dad07e8..34dc01c7e2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e70c4ca896bf455.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt index 66a1a185f7..deb9b16f22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8e93f50ead8fda3d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt index beb9152e3d..ec4387c519 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb5d8dd036bcc0a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt index 2f56d5ad38..002fbf20e3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8eb66257e6eb852e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt index 76abdb804e..35aaf60b42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f00974a4747fae2.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt index 33122376d3..20531badf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8f54cd21a7daf71e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt index 76d3aa8fe8..cb26602914 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fcfc0c8b3391054.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt index 2ff0d644cc..f8bee66a3c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_8fd9804f5bd26a45.verified.txt @@ -372,14 +372,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt index 02285e8218..e7927a4b12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_900dc8e2556d6efc.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt index c6764e035a..81c97ca5a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90266d08324a2d4a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt index 1dd4a88ab3..af55462269 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90c7d4310f2e0896.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt index 228c4c7f9f..ed51491236 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90e1be6de9347b30.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt index 405b5b1f0d..ae6cbe9ad7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90efdf9b0482da54.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt index 28b3907f28..9268d7a5dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_90f1417ae7ed53de.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt index 2b83b340dc..7f323a3648 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_91990b04953db393.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt index fd2ef8bb13..454d4c635c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9200ff452a0795bc.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt index ddb76760d4..ae0766286a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_928c9420c1bb63de.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt index 5b184cad4e..f29c37bb7d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_92edc4c62e75ebc2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt index cfe3f75d17..9279cfd686 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9361c21355561fb9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt index 3da1e47285..2bd386ac2e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_936b2c7a1344cfc3.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt index e4838612fd..04195ec7fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9373fe3eec50413f.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt index 0cc064b218..3e4abc7db7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93b9295d7d839d94.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt index 1aed761c36..ff235292fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_93eac42dcba4c72e.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt index 9b6175cb80..edbb8f7215 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_945670831a185c84.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt index db568da39a..aeb6817fb5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94709de1c724d2f3.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt index f59e7a5485..d402df3433 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_949f6ff71de084b7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt index e5c1708b66..c57d6999a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_94f79482c4eee122.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt index 9e89c4cf54..26fd9d7dcf 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9557425ce6c2b7e1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt index bf4faa9685..5f18a6a8ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_955e251507792531.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt index 4970ff72df..2bb511dc14 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_958fb5f6bad827c7.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt index 8b9cc413e5..afb8876219 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95b436d8d2391460.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt index 0bd6f183c9..0455ff4459 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_95d56defa642382d.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt index 30b9a19300..3023f1a5da 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_964221e02460356b.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt index baadaa45bc..c030f21b22 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966ae614987d6c84.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt index 0da22ac65f..f073bfcb6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_966cc3f4037a7751.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt index ce81059b1b..4802c686f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96bbfe158b17097f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt index 3404e34fbb..4e0314cf10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_96c678b8a7bd5cd7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt index 17b4d1f4f8..286448e0be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_979f4e1d8778978d.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt index 3b14296f19..65c47adf77 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97a4b2f2e9d0e8fc.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt index 69e637299b..fd57ea3834 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_97c94938b29f3cd8.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt index e9ff2ce035..8c1f03c29a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9803af96862ec001.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt index 89a41f02a9..e50420412e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98098a7569a690ed.verified.txt @@ -369,14 +369,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt index eb30f6e26d..12fd29e804 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_984e86bec72e91b8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt index e7c9a3af2e..9a3aa77e0d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9889b062b29f0e60.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt index 36cbeb0211..c65208a7e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_98f47fdce5a9bb07.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt index 58e52feb9d..ddc405a4e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_992a5a8cdfae182e.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt index 0a2e6694f0..1dc5959d45 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_99f3ec72142e73ac.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt index 8972dccb7f..d6a6e91a06 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a1bd23b384ef683.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt index 7d57cfeb62..0f7814b580 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2d043e82919de6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt index b93a7f8681..e4fe9fb2f5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9a2e732ed923494c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt index fbb098ad33..f756a9b45a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9abcc5efd6040859.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt index 0f48b90a94..3e8cc31ed1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b5890bfa5b4d99f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt index 3e7676fd27..25d9345c23 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b64d988d4d8ce85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt index 4bf373ff11..8197e605f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9b84c021f22516d6.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt index f86e25dc41..945923e8ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9bb22f74e6137ab0.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt index 7308670020..5bdddb0ed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3500a3e611e7b8.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt index eebb955eae..2944161485 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c3a8804609498e0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt index cb111ce79e..1611db83f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4be19559533f56.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt index 2880a87873..5d9c2e5c68 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c4f1e5821ac82cb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt index f2b67a85a4..f01d526357 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c5059f1c406a6e0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt index 6fea5c4d8e..392a3b9f6e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c7ddcafcc8e81f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt index fb8dcadb12..6d6949a977 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9c9feb793d139c18.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt index be8ad5847b..0347b3edd7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cb55c92bb21f55e.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt index da47d29bfe..108df006fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cc462a576f0da80.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt index c7177686c7..f6e97ea813 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9cd706d9e2ade979.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt index e8bd918fbf..affb962695 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d1e362cebedf68b.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt index 929f4956b0..92d93cefd1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d2386e4cdf4622c.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt index f05f7f5001..7d4c43a58a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d48fd5d58fbfea2.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt index c8df5462bd..aec6d0cdd3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9d632284ed11c729.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt index 3a4b5feea0..4703eab957 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9de9214bc3816f44.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt index 66a338eaea..4a07d67503 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9deeda27f7a8acdf.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt index 0f43c7c95a..0c94e845ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9df46a62d35fe8eb.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt index 2272658634..ce7240c007 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e1d6f77768563a0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt index ce07c69b35..1057ce15ce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e54a35ab1785004.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt index 601ae92781..ffc12579ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e6bb96518d7a8fd.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt index da5669950e..20cbc9b925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9e7f6faafa6e6390.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt index dd0da37283..382b273f8b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9ebef09ef84725e6.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt index 2ed78afb80..9b2dce6474 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2636db94a545a7.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt index 846deabef6..f27f37ccda 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f2aa7b4f6246f6a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt index 123d863ad2..15dcea2940 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f876f3fa4dc5e75.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt index 2823178455..fab61d9108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f92a05dc45c7f93.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt index f38b839d29..a53209be59 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_9f96079551cd472e.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt index a1355a6852..54a3b8a72e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a054f29bc225e27f.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt index 0f2f306c0b..1832a304bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a090f55e49d78b85.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt index 8bb050fed6..984bc471e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a18ee6a99eb155fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt index 1e1bd718ca..cb95a999ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1b09cc31f803ee4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt index 4c1b09c92a..b79e174713 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1d47755ff750dbc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt index 20ee325bc5..b7b30f1f91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a1db8ad08b9c6f0b.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt index 04d7be4e6a..75fe7ca66f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a20b9596fc19153a.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt index ff813fc307..2fd2749da6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a2853ff5de6d7.verified.txt @@ -259,14 +259,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt index 094ad5a1e2..21aef70f1d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a21a9623a129fce8.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt index 3249378549..e10004f752 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a2a185228d8c2e8c.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt index 8afbe3c9dc..2a79bc1a10 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a38acb77fada9d38.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt index ea346d51fc..0364810eec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a39226592ded51a4.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt index 137a8d147f..fe4a1abbcb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a397c68274cdf9e4.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt index d8a077eb1a..2deaa5e444 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449e70dc3829b06.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt index 3af7e70670..bb01bfd2c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a449efdfb252cc09.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt index 7a09f31a17..0e1a405bc4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a46640b3a2040cbd.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt index 8faa0752dc..9e0da52930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a487ce53f8fe8e27.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt index 50db77e9a3..65a5bb19f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a4a8efb4c0321116.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt index 8568cbe563..5f71acd6aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5279e66910e57f2.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt index 3caac5b6c1..ef9acd11e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5285efa9638f31c.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt index 706f74d115..f685d30c66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a54637d80474d1eb.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt index 5372f62ae3..926658f1bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5645dc9376f9cfb.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt index 845f86b611..2a886d95ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a5f7c1fc0aa09bb5.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt index e330d47b57..de477aa38d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60cf74e50ca74ae.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt index 03fa2db5d3..3159ec4019 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a60d5d9742196881.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt index 9264f3e006..cbc064ab18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a624efe430e681de.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt index 051c9371ee..a05dfc9afd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a630fbfb7390a72e.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt index ba9d3f3acf..0e39cd2844 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a66bed7e68fe176a.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt index ba5290f6df..dcdacbe022 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d206a79c0b11bc.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt index 6a05d3e414..78fd1aeba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6d238c89c6ed62b.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt index e4f17009f1..7ae4c4ee49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6e13051afa12d80.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt index 7f65abdaf8..34121a9c64 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a6edf3b92f83348b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt index b56486dd7d..2f0e95222f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74ddb475aac1ddd.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt index 2b622a3628..af39fd4bac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a74f1e1358ee2cb8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt index e83bd02af6..98d3d2001b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a777d74ca0dee686.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt index 9e2f65c14e..9e92a2e3b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a796842c26dc0675.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt index 864685536e..1adb151014 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a7c7eba5ec3f3cd6.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt index 84886ab39f..9e3a5a4a2a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a82f26de8832eccf.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt index d0f27e0248..1baeac47ae 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a892b9f540fb3fbd.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt index 76547cd457..1990b4cb1b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a92561fae528dd66.verified.txt @@ -264,14 +264,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt index fbc646530c..f33c23de38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9710d6372e0627c.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt index a830ceaa9b..7aa1898edc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9cce7dd1a7552db.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt index 37296e808d..3e7e8d44be 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_a9f795c1a4a3dc7e.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt index 2a377b830b..c7c0ec809f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa5d6b47e3077133.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt index 395202058b..25dea5c2e1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aa6d2a79b976e71d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt index 6c000cb4c8..49a21e7fd6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab37f66cfadaa3e7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt index 3e9566d413..85b0d92629 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab557800adb816a0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt index e3aabb078a..0920a1b817 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6c3870d7b072f5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt index f85744acb8..21b71c65d0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ab6d6dac4001b394.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt index 60e5a17977..51a054e072 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aba5fb5b005587ce.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt index e29d15c655..a04569c857 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_abbb1a9c3ca6dda8.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt index b7ac91c4a6..28deb6bc92 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_accf8049754215f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt index 657d4795b4..f963f8b457 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_acd834b5bd46cb01.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt index a147c095dc..89fd4edd5a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad103b557df72a81.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt index fd5ee4f743..450ec53151 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ad65b0052e93e330.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt index 0cbd563a16..6baa5afdc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_adc13c624670af54.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt index 9687c5da22..7564f9df96 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6a32601cd5623d.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt index 25b835f1d9..5fda855791 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ae6c52842acb98e2.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt index 7c39274572..c44b2b7fee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aed6013c5d56c9a0.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt index 7df4339a6f..0372e2816d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa80fc141aac249.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt index 39e7095024..0d36355745 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_afa94c0f5d9ed8f8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt index 95516734d4..59a96eb13c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_aff23a0ab1087672.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt index 5101f77056..fe70d0d3ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b03269d3742c3684.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt index 9bc99af606..b06d0d7994 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0953a2773dad710.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt index 820da5b941..2b35b1415d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b0bc842726317993.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt index e638e2298a..2b898b9955 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b102417ccf7cd3ca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt index d3b1f09610..6f9d827423 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b11157f641c8cd81.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt index d0f5470894..96e64c59ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b17627ec5b2594b4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt index ad5d2e114d..d978bcce1a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b18da007bdc0ae92.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt index fc3580ba3a..592b4ceb9e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1983b1b7873e212.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt index 7b54004105..23f8c07042 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1bd7bea4d32bfa0.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt index ef6db4e61f..4a9e05eb93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b1d8d300b99f8cdb.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt index 177b6df21e..e4bf1d9a80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b227222be18819fd.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt index fffee9dca7..bd49d04108 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b298d0292072722a.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt index a20ad17f47..fb8b171f12 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b2eca82355c60ed5.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt index 2a1d5bc489..334af40ba7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b31a24b3f97f3c03.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt index 174b6e5fa0..feaf209a85 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3339b84ff0fa2a5.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt index f830fd8ec1..eaba9dd5dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b33796c3e192797d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt index 56fd9876d4..31b31184e8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3a682de0c41d5e9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt index a9aea80a84..e5c19822f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b3cc198c0e6f40e2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt index b581596ba6..7bf315e1af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b40ebee9a376a06f.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt index b6847d36a9..704a0ec662 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b4e74cdeef5dcc46.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt index 1d607a3cce..4aca2c039b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b5ef80563d878db0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt index 65316548f0..7c841bbdfc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6340dba18f32d03.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt index 0195c3cc7b..93df1a2fed 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b669a14f6b612d77.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt index 8ef275798b..aa86718c9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6ab96abbec2894e.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt index 9f8cf9957a..00335b8f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b6bcfcc767bf8aa8.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt index 82fafdfa09..311e2c445d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b77c5ff0006e8f97.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt index 00f3349eb2..b03d92f4dd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b7ac0bb3daa0fe51.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt index 2f77fe0434..72cc369078 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8bebaeda49a0b9d.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt index 6083609f88..21e22c93f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b8e44296d5035084.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt index 339d95cb41..aeb027c0b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b92b2819d6600f42.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt index 8ccb6557a0..2c5025cd6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9302ddc3c71a56c.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt index e4be39911b..c96a4a6e83 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b93d7e67828d46d0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt index 369b5b1019..5522b1a7ec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b96e69acc89f6b8c.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt index f267db9388..80da4c39ef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b989fabae157647b.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt index c928fc7f3d..73f5385399 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99c01fc4cc25050.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt index f9ad2b79d4..d9c8e6cb6c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fd451aa935623.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt index dbfca581e3..7e490bac98 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b99fe093c03dcc56.verified.txt @@ -385,14 +385,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt index e66cf8727e..f86f10144d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_b9cbca8c3d93931d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt index 9cd85edd01..29fcc83d39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ba4e189b80e92f49.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt index 49964a2da0..9a51a7e4c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb059858b3a4dd62.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt index 7a553ee19c..71a4ce058f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb317c7fca3ef64d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt index b66112ab7a..7ef7e7d6fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bb422f11df967bb1.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt index 1a03763961..ea57959fbe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bbe2828aa2860386.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt index 8c9c97eb9c..cc126bb316 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcdf6037107e346c.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt index 91ea4d0ada..14567897bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bcec9e643465de10.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt index 530ddb70f7..4d75e56780 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd113df7fb12fbbf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt index 73d8158e4b..797967bb88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd322b92a9f41865.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt index c7698106d9..872a07b1bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bd43f6d21bfce307.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt index deff595d67..58ef9008bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be36f5676d91428e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt index bc1556d729..408eef5407 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be413772c825426a.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt index 3176caff9b..37078924d8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_be66c192b4112576.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt index 97ffd98af0..5e29430b7a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bea14fe938cd2ea5.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt index 5869ce0539..8951754a62 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bedf407f53289876.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt index 5e8ad820b9..7562c468b4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf299a696eead5d4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt index bf51e611c1..6902b0b1f4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf604717274c31f2.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt index a325cee122..bdc6484267 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bf904685b1635430.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt index d32e4a028e..125707db57 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfa8c08e086d1079.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt index e9b6952af5..3f2c744db2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_bfc19447aaa8fa36.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt index 93f61c201b..bae107c84f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c00d48ce7c74dbfa.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt index 80a0355a30..b9310cfd63 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c05e9dcf2f3c52b2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt index 2f946875e2..ea2ba05a18 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a091774709463.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt index a6346f67b0..8a2cb16247 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06a3317515dd82f.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt index fc7218a8c0..6bb55200cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c06c38d61292585c.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt index 979cc18f65..29c0edc27d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0727a9dd03483c0.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt index 909d6fb895..4690f64a78 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0787b8410370563.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt index f25fc19613..6e9fc6abf8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c0e27670f6aaf784.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt index 7fc45d2027..4e8fff5065 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c10dac9ba8e7346a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt index 5e889061e9..bbd9a31ef9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c11cd2165f60bbaf.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt index 9f88085c36..3f063168cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1c9d3ac4859ee8e.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt index bf6cd0ce5a..868d4bf4e6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c1ef5e08f49adde8.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt index d7597aa4b0..a33e31e82e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c277f0a19b7b5653.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt index 356ee97b44..ff00edd12e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c288932f9ffc3e6c.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt index 01e97d84c0..99e1b8f254 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c2b5fe975d4c1e4d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt index 37519e587a..0e054685ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c3dc723beef1fce7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt index bb88edea2a..976c868a4b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4232bde52281574.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt index b285be4c39..bd1e7c5ac4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c453cd131112230f.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt index c318472faf..b0188f274d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c46a6db053398641.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt index 29af62c8fd..e63fa7b8b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4a522bebc04b8c4.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt index 3dfc0ebcb4..f2fde1cdfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4b7946411c5e27c.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt index 3133367f8a..d1f652c864 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4f3f4ae3c59c2e3.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt index bd60c5807b..938f4b6609 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c4fe9eb36be08aa1.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt index 9c995b4aa2..a0dfca5a47 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c50fe9b0ce9d8735.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt index ef09b8a0e0..0f7cdd678e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c512bae79c0fbcc7.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt index 096f221965..8f09a159af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c528e3f2e01a5759.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt index 22f365a75a..fbad0204bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5b6fe8ad21b79f2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt index c4b79925d7..f3c3aa1438 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5bd9dcdf03b2dc2.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt index 7c065beb94..7bd7c928cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5dba07fa2fa4277.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt index 69f10ddd28..54a641abe2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c5e837d745d45067.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt index f18b6d136f..a92b8f8566 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c6bb85518edce940.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt index c3d0f46251..d7e11f9c36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c71202fc43157eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt index df1c7f0e7f..a3cb5750e9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c729e69e40b974d4.verified.txt @@ -442,14 +442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt index 4b5033b5ed..33bd510b2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c73a726a6e16643f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt index b700e28953..627008e2d7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7471f617ca8fd47.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt index ff2714b552..bfcd81b707 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c75435bf65655137.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt index 1047441327..f8e7594564 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c7dbd32ca29fab23.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt index ef1a2d16c0..9d854f2635 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8154863dce70d9c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt index 0303ef7511..ba9122076c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c84077e206d1f99b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt index 79d7bfaefa..ccd0d93e36 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c841a8bf41b79d61.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt index 7cfa8765a5..a98ea6c72c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c86bc06ac3e471f3.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt index f389d6d419..bbcb665016 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8d3f13f09c4cba2.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt index 315b0286df..d1c58e8415 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8ec49e619492f16.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt index 812a25b74a..d0a1e18553 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c8edc11e7b3a0937.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt index de330b07a9..98bdc79639 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c91fed278cff06b7.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt index 0fc98b0110..c914c2332c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9225241b59d840e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt index b8ef9609a3..8de5843360 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9917fb063d2ccf1.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt index 11c79f4308..0b7f0d60ad 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9946dff3951db97.verified.txt @@ -386,14 +386,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt index 917e6ab3a9..81de19eed4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9954182de948eca.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt index 940cacf7b9..974112dcfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c99cb0de17c1cfa5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt index 047cfd8732..53f066bc02 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9a4b628a007cf9c.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt index ee566c54aa..bfabbc45c5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9b1906d396e911c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt index e9b90a7e64..66d48b8db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c1357248b5681f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt index 09c53a1cbf..fd854dab79 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9c47221a0a929b1.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt index a579cf9bb1..f8ad24768d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_c9d2bb455edc7f63.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt index 0e69075ad5..912cd4baf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca0ee81f642af861.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt index c4137befa2..07180582e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca2cf956d0628a4e.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt index c7def59a58..978e5b029b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4a058c10d84f7a.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt index 374d79670c..0b315fe2c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca4ee236342bfea5.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt index 53bc3ce2cb..b085cd6f94 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca77d52a3f4c58cf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt index 1c5404bdca..5a6ea9e12f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ca7b5ac10d54b826.verified.txt @@ -387,14 +387,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt index 7cd2d9064f..823b16df31 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cacf1ce1efd2b9ae.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt index 5561d8a257..d047520cc7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb1c98c311689647.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt index a97a81b4ba..e48f4ec62e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb391c721779c6ce.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt index 46523a49e1..049ebfdfee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cb424edfb24483ee.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt index a1c5c7cbc8..cbfdf20711 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cbd46a6612dba294.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt index b9c0653e12..97d7b99b58 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cc34f458ffcb8a14.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt index 53d38b3c1a..2f7768d47f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ccf48e805e039fd0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt index 82ba703d8b..b0f19397d4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd6519e005201bbc.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt index 6467bfbdfe..ab212292df 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cd96bd32f1659839.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt index d53efb41d2..e694aec728 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce13a09934485df1.verified.txt @@ -275,14 +275,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt index 9591dbe98b..bc3b850f09 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce788e453ea2147e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt index 89bb23f6a0..736622f5e0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ce939348f1017824.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt index bc3e3bf70a..ffe83928a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cef80047e475246e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt index 7705237378..918e5aab6b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf1fd0660620a6af.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt index b055d09096..7e982f58ff 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cf54b9d469656cd2.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt index 923830943f..3ad653cc1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_cfa9c25e4e066413.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt index 829d979a09..ce154c884e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d0b0dc32687d30fa.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt index 93b2f1b280..978c2424c3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d121f938867a4aff.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt index 536f69ea92..faaed4edb1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1354de3e9fae8f4.verified.txt @@ -428,14 +428,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt index 9d3a17b8b3..98104978a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d1b4474334c5117d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt index 84a7818356..fed864ab19 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d216ef0460c3a7b4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt index 93898be438..c183891324 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d21dbb3a099da395.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt index ce25a3bcbd..6911a5d5a4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2472ba47fe70f93.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt index 59fd9631a7..00f72680a3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d2562fefd66b1f02.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt index 4ada3f65bc..85c01b2eef 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d35e91e202b9a7f3.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt index 23b8dd6505..995cf574fc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d38d4411139602de.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt index 03a98a2ed2..ff43a3b150 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d3f9fcab39089b82.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt index d7c8845f71..65afb77d1f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4627929e7d82733.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt index e119184df3..03bffefaf4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d47072e0a523c117.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt index 18af8abbb0..a1136162bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d486f72aa5acfe2f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt index 64f59b1862..0c8c428013 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48a31a11778fec5.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt index f6d46992a8..314445bf87 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d48bf6cf87134eac.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt index e96424c603..6d2fb949f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d4be99e310c5484e.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt index 6339e04248..6523623811 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d512997de79bdb40.verified.txt @@ -267,14 +267,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt index 13c64e429a..6054ed9581 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d59853a76e29ffb5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt index c5469df08d..ec1e3b95db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d5d8bc5e8c982f99.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt index 8302392f1a..121faa3602 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d63cf40f531399a1.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt index 9651bc35d0..30cf264853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d663737b6d1af602.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt index 2c1d53ce4c..b6dd10ae4a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d73b823f27173add.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt index b0b44e8e4e..3c31cb7614 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d77ba88ce2553d9b.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt index 141d74ea1d..e118548865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d794093c16027d04.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt index 5cba634421..fbf1c6db93 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d7ffcf75a79ab366.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt index 430ddb76b4..79e7de674f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d87ea6b71573f2ac.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt index fb5d85b76a..d202cf913d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d883246e5727ab30.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt index 36e8e4e858..3e647babe3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d89db75876ceb58d.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt index b7a4be54c5..e8f6bbc312 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d91efac105621c68.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt index 6d023fb04e..60637f4b88 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d932f99c8f13a13f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt index 68e700dd50..75bd6d473c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d96570e7fbd41cd3.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt index 908d7dc96f..f88c97b86a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_d9aa484e68a7fccb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt index af8372f237..0238f541db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da22f3089f5b0814.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt index f4ac0e282c..7679fdf6b2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da617283139df772.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt index 402f6d6298..f338e6c4c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da6789b08b169f9d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt index e92bf39e05..f3814b4a0e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da8897ebb8784e2d.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt index 5da03ffa2a..05739afda5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da96115322311483.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt index af96feb662..3d8bb8a1c8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_da9b24b8e9bc0583.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt index 8709f39fba..9e2596ee9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dafd02a6fbcefccc.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt index 1625cb9972..ea559dcdb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_db4b0acf25630ea7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt index 2db627e34a..6b71431b9f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbaa935a1190f66f.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt index a4789adc77..5f84a21a76 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbe0f975e2bc684c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt index 3499ab49ed..f950bbbc0f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dbf64ac344cb4fe7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt index 47ef83b66d..68f61870ca 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dc0886a61829b0fd.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt index f8b3c4fcda..4dc3766d49 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dcc0b7ed2e5a6e29.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt index 6215f02e3d..8a241aeded 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dccaaac6244b115f.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt index d10d031f39..c3bd9ae2ba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dd0ee5b0c8cd3a94.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt index c2f0637ca1..71e428ac3e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddd86eda076cf4c0.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt index b89c953547..dbe1c93db9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ddeff71a9b3cf261.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt index 8277a2bb8b..cfe5ac2276 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de24f0aabba674d3.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt index 40d0134762..58198df26f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_de7b1899726e8402.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt index f8e93b4b70..f84392034b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_dec85c1ed5439c19.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt index c4883aaf05..2639e5f603 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_df82e6ddad53d5de.verified.txt @@ -266,14 +266,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt index 19d5d8e3d9..a42bdcea0b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0045c5b324a8c38.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt index f22d29fba9..443cf1c136 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e03eccfc917d77f8.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt index 255c32886c..f423e3a43d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e06ddd14adcd3568.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt index 80199f7cd9..d946fdd0a8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0b1500cada1c6b4.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt index 7e47edac9a..7cc6f598d2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e0bfaae7c3781b2e.verified.txt @@ -542,14 +542,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt index 2675ebe34f..2f36eafcce 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e110eadf0cd68359.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt index 26c473eb10..b9fbef2efb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e12336a23be92453.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt index bddc3a48db..38cb452613 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e126575458ee4aa1.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt index 70b1cfdbd1..9a338d02cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e13506a79bdcfcd2.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt index b81608b53f..52a004cf42 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e16cfd70ba60d700.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt index bf24707bb2..255da5f986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e1e6dac3de0acebe.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt index 2ede00fc8b..0e37a5ad91 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e21f2a2278bb2fc7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt index f52aa66d8a..850db76a24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e224d796c25ba863.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt index 0e46ac1615..b8aeadb050 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e249608ddaa5b9a2.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt index e9970de79b..93ef399678 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e30d5add6ea73af6.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt index 63934d1524..389a8733c1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e34feb378629efb2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt index a4c9adb1c7..c2c66f3670 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e387c177c339a656.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt index efaa7e60c9..a29d9a11bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cf4fcd9442043e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt index 2f14e84938..344207138b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e3cfa61ca18d8d38.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt index b778a189e6..6d6f5e155d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e40acbf5919b0649.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt index aeaf3b4163..e906b48115 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4147acf90bd6ae1.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt index 32f2beef56..5e42b00806 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4157ded2142a665.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt index 858e592bc2..576c8d56a2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e419c934080154d3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt index 377903d624..8b2c65fd5f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e43482890f0efed9.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt index 0b5bd71375..79f841b930 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e4553d89cbb731f4.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt index 41610ad502..5a96f76495 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e467068e6ca0ff61.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt index 38e9cba27e..6ca0089960 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e50da49a47dc87cc.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt index 83fb0148af..66f1f81f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e53aaaec90a49199.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt index 268edc4ad0..7702af1018 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e56f31bd449409bf.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt index da9495902a..216c66701e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e57a80e69d260d46.verified.txt @@ -282,14 +282,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt index 0a0f22d767..f1efe7a4af 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e5f56ba207491782.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt index 40e119f6f9..09ccad56ee 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6240b1fb5be6acf.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt index 3604702dc3..51c9956741 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e63eab4bf226b92f.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt index 0b0260887f..05d1ece1f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e64b094c6a5c5102.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt index aee4421658..9f219bb7d9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e659a4068e7e31c9.verified.txt @@ -281,14 +281,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt index ccba86bae8..4b5817d785 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e664681d0d43d7f0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt index 85e58c2bc5..85b452694b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6902083efb6da26.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt index af8757cbfc..938bee9ab0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6bff376febb2d96.verified.txt @@ -444,14 +444,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt index 7765e408c9..3f50850295 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6eadfbb315ade9f.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt index cf8f8779b8..402381a6cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e6f6c8b6235cd59b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt index 7c4d72b54f..90415612cd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e70176e0489e356a.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt index 57de392821..c493d7335f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e771787defee4a4b.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt index d5937bc44d..9e7c531865 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e793f2f212e89480.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt index 08acf9bd6e..77824f75fa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7b775428eb9240f.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt index 86f1e0c1c6..fd17e9b074 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e7d03c097ffdf692.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt index cd7795c42e..609f3f0eba 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e8224c98b7673d46.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt index d60192bbb5..7cbe91b2f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e82368f327d3c64c.verified.txt @@ -370,14 +370,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt index cb0d361a9b..aee82332dc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e837757415cf9a87.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt index 0aea3c29f6..5c8aeea6f0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e90739ee77f59479.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt index acd0b18005..aabe819f15 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e93ac5ecdd8dd0ca.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt index 6b81112d93..b27b5b0f2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e960e1679f126480.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt index fba96b0252..0da8d08ce4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9618be5f9ed361a.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt index ea1c36a581..63e949d5b1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9e9ee18eeea2c6a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt index 4e80b9580f..a4d4f216b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_e9f123caf0dee076.verified.txt @@ -526,14 +526,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt index 9ac65d9a04..02318f0759 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea0b947d150a50df.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt index d2b79e4a84..4cd7b07993 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea3ea92fbacf24dc.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt index 4edeea6e9e..ae704a04f3 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea5cf282ab8113f7.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt index 8fcf0ddd92..cc6eaf3d38 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ea6fe6dc9dcb8362.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt index b53546bb59..b027fdda08 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ead8d26ce2607cd3.verified.txt @@ -426,14 +426,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt index 7c5e53f5bb..4547132a4e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eb442e78731d096a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt index 33281f5f42..47943c584e 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebf71e6be56c90c6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt index 08e437b6a7..fc0e16825d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ebfc93a613cf6dff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt index e100a43594..eacb5dba4f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ec30ed4bf879e7c8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt index 1b12e0e6d7..b0217868a6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ece7ac813f957972.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt index 34c2c5024e..94f3608eeb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed3822db65bdc7b2.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt index 34c5720a45..74d38bf3a9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed42bf4f42cdccdb.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt index 079a64d4e2..8444857779 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ed8974d12fcd58d2.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt index d3931a1cc4..191fe6fda1 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee39b4936c6fe74e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt index e6b2499c9d..cabe6858f8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee519273ae3efa0c.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt index 87709e7a72..f3173d3986 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ee5f295ceb50175d.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt index 4c89930b95..c8fc832bf5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eebcb11e9d0c1bec.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt index fb1ed50e37..0705d5b9f9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef3bd3b0553a82a9.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt index e2c5161b41..74058760f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef720282f80f163d.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt index da5e5c6dc9..b9ef387fac 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ef7b1c443c4d2b2f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt index e0d7056455..f6cdb4b7cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efacab428af8a540.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt index f5a12e8bf8..6bfb2ed526 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_efcf3f3288fd9f3a.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt index 7d4dce3b7c..3486c4f079 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_eff79cb015e434ae.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt index e50375b50e..b178cb59f2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0cb1bc4c1868d05.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt index 20d2707597..912232c5bb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0d0defc91082b1b.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt index 233fccc23d..58b7e3de4d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f0f20b4d0dee5d9e.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt index 043697b8aa..bbf1588a39 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f11f7363f14d8dca.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt index 0d7e348702..3ea576597f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1344614e2193f8b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt index fdbe64f3d9..9cd7b63b2b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f13c0604f043ba83.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt index c4b7875193..4bd4441df9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f16a660ddc43c15c.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt index 7e06b883ce..7ccbf86a3a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1b0c0a8b6a1e7fc.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt index ac59212898..1b50995cf6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1d44dd71d288957.verified.txt @@ -429,14 +429,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt index 94ecebb85a..e38d24b80f 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1e0ff765a22a5a0.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt index bf06237197..ae18d12980 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f1f54648829805a7.verified.txt @@ -437,14 +437,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt index 00f8ce7046..a6b0e9f545 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f22764bf85dd7067.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt index 4b6893691e..da54b2f64d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f23391beb1a84fe3.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt index b4f11e21e0..b5c4a2e2c2 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f26346ed293c1fd0.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt index b2774c1c81..12bcbaad80 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2dba8f6d12006fb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt index 8c6f6646e2..22217be862 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f2de388451b846cb.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt index ce15f02cdd..32d2e88843 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f301c12f0099fa83.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt index 0327b1ea94..a104e79425 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f35ca87e848fe958.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt index b4c862b11b..a524f39e24 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f36e259cea8673c5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt index 6a20de9d98..abc692c624 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f38e9dab6ac824ed.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt index 33233eb3ac..4b9ebc31b0 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f396c3d0094f3511.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt index cef40c8dba..7671004110 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f397f2a2b36d12c5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt index 88bbedd201..89619c0fe5 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f3b4556818570ae6.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt index f80f59d620..81f2882925 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f45565ee0aefb58f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt index 1f7dca5332..176f7cba3d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f4d81be4e42d003b.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt index 5818d73fb3..e3e703ba0a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5012163c88d6f7a.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt index cf669e8b12..c7897224cb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f5cb71c3dcc47563.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt index 9f8816caa6..ab30011248 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f61b10fdcf0f518a.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt index 87b9a4f747..fdc972b9bc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f620a7aa9bfb56b0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt index fa23bd1a7f..8908db3dfb 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f67051ace0e3fbed.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt index cc26bc1282..aa2229b017 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6859535ce1bf3a6.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt index 4c9c9cf67a..79aa7406cc 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f68c19de8a394152.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt index d0bc2b2c73..0df503014a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6b60ade6a11fa6f.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt index 6b22970f61..372827c778 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6c47f6472ded299.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt index 927d0c5077..d64abff6c7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6e158a4537ff6c4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt index 4d5a9a969e..7973315bc9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6ec22721fee54fb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt index e7e584d708..bec9cff0aa 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f6f5b66c115cfe4f.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt index ab7e4be2b3..379315bb01 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f73d1178640672c5.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt index 33fa3f2efd..cecc77c479 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f8fb4df98fdc6b64.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt index a864149764..83943c8e6d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f900b4d5e2f0e655.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt index 56b836e5a4..3865cb5fa9 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f93c141db3998dac.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt index 5bef7f0130..73969c7092 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_f9c7a1815b335404.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt index c1340fc79c..e80d0a40ab 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa336c022f1543c1.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt index 4f2fa3173c..56722dc5fe 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa4656d0f8876774.verified.txt @@ -548,14 +548,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt index 46414ff17f..e869c5741d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fa53b606e523ceff.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt index cfc8fab710..58b5047bc6 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faa1e6703da506fe.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt index fb73267be6..cd6998ba2c 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_faf49716d0cf46ff.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt index 43ad9ad6e3..a44027f979 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbb53840fa015194.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt index 6f495c1b5a..669af94775 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbdc6d16b8c535c4.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt index e8763caded..20916e8aec 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fbf26a4b7ceb8eba.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt index 4139bd6479..6181769667 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc06b5017bfaf9f9.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt index eebb26d9fb..70a6ff11db 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc0dff4be7b8f19d.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt index 661a6d2a82..f07df8795a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc4c0e372635b0dc.verified.txt @@ -364,14 +364,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt index 704deeac92..8266c8602a 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fc587ef5e7021a3a.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt index 56a8b0fdfb..519067ca74 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fcf161275df488ea.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt index fe1506ef1e..f2d70bbcb8 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fd0b3567be8115ae.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt index cb3ef1f754..e462c055f7 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fdcce74b1bf18b70.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt index 60bb19119e..a1e293c0bd 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fde1254e77d89b21.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt index 77ae1280f8..b324d7c225 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe306410050dd481.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt index b8af507145..20308ea832 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe378db7b3dd5824.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt index c32724f430..2e9a7c86e4 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fe40f87af1f241a2.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt index 22da493f7f..fd46829a2d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fea89883ed414cbb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt index 0d0d390575..066030dd66 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_feaaced6d234c67c.verified.txt @@ -531,14 +531,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt index 1b1caf8daf..30cf9bfb54 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_fef7c5bb53311179.verified.txt @@ -421,14 +421,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt index bc1087a8f5..4df2c40973 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff05c6e0200c7b3b.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt index d556ef075e..345770952b 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ff12c2487827736b.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt index 9a678bcd71..fd8570a853 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffc1d2d9ac4983a9.verified.txt @@ -427,14 +427,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt index 0857734d35..0100392f8d 100644 --- a/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt +++ b/tests/SnapshotTests/Casting/snapshots/snap-v9.0/CastingGenerationTests.Can_specify_casting_at_the_value_object_level_ffcf94ee020af0bb.verified.txt @@ -443,14 +443,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt b/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt index 81d6ae10e1..640e3f4ce0 100644 --- a/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt +++ b/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt b/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt +++ b/tests/SnapshotTests/Comparable/snapshots/snap-v8.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt b/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt index 81d6ae10e1..640e3f4ce0 100644 --- a/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt +++ b/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_omit_does_not_generate_comparable_code.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt b/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt +++ b/tests/SnapshotTests/Comparable/snapshots/snap-v9.0/ComparisonGenerationTests.Using_underlying_uses_int_comparison.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt index b6fafdc411..9b09c43042 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt @@ -612,14 +612,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Customization_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Customization_override.verified.txt index abd39392dc..d2eda9c00c 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Customization_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Customization_override.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt index d38ec763e3..fce282b9d7 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt @@ -527,14 +527,14 @@ namespace Whatever public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override.verified.txt index 118fb1b23f..99637fe026 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt index b33435c4cc..b9f2e8b512 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt index 78efdd0ac7..12f9676b9b 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Type_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Type_override.verified.txt index 352c5c432d..d6a0d61e47 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Type_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/GlobalConfigTests.Type_override.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt index b6fafdc411..9b09c43042 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt @@ -612,14 +612,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_override.verified.txt index 322b2eff43..6f3181fa0b 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Conversion_override.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt index dd87657de6..044e5d0606 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt @@ -620,14 +620,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Exception_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Exception_override.verified.txt index 118fb1b23f..99637fe026 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Exception_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Exception_override.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt index 78efdd0ac7..12f9676b9b 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Override_global_config_locally.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Override_global_config_locally.verified.txt index 61ba750ccf..b86fc14ea5 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Override_global_config_locally.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Override_global_config_locally.verified.txt @@ -612,14 +612,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Type_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Type_override.verified.txt index 352c5c432d..d6a0d61e47 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Type_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v8.0/LocalConfigTests.Type_override.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt index b6fafdc411..9b09c43042 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Conversion_and_exceptions_override.verified.txt @@ -612,14 +612,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Customization_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Customization_override.verified.txt index abd39392dc..d2eda9c00c 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Customization_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Customization_override.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt index d38ec763e3..fce282b9d7 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Disable_stack_trace_recording_in_debug.verified.txt @@ -527,14 +527,14 @@ namespace Whatever public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Enable_stack_trace_recoding_in_debug.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override.verified.txt index 118fb1b23f..99637fe026 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt index b33435c4cc..b9f2e8b512 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Exception_override_in_different_namespace.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt index 78efdd0ac7..12f9676b9b 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.OmitDebugAttributes_override.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Type_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Type_override.verified.txt index 352c5c432d..d6a0d61e47 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Type_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/GlobalConfigTests.Type_override.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt index b6fafdc411..9b09c43042 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_and_exceptions_override.verified.txt @@ -612,14 +612,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_override.verified.txt index 322b2eff43..6f3181fa0b 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Conversion_override.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt index dd87657de6..044e5d0606 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Defaults_with_validation_and_instances.verified.txt @@ -620,14 +620,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Exception_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Exception_override.verified.txt index 118fb1b23f..99637fe026 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Exception_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Exception_override.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt index 78efdd0ac7..12f9676b9b 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.OmitDebugAttributes_override.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Override_global_config_locally.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Override_global_config_locally.verified.txt index 61ba750ccf..b86fc14ea5 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Override_global_config_locally.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Override_global_config_locally.verified.txt @@ -612,14 +612,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Type_override.verified.txt b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Type_override.verified.txt index 352c5c432d..d6a0d61e47 100644 --- a/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Type_override.verified.txt +++ b/tests/SnapshotTests/Config/snapshots/snap-v9.0/LocalConfigTests.Type_override.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class67D9OX1YBs.verified.txt index f434e045bf..d1d4c373d8 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class67D9OX1YBs.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class8Ls5UqsVLU.verified.txt index 5bc4dddfa7..6b25f2014a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-class8Ls5UqsVLU.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classCE600pzF1D.verified.txt index e0a2372e84..8acb031a4a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classCE600pzF1D.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classIKki7umr9M.verified.txt index 843eca1ce6..7ea225619e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classIKki7umr9M.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQ31xUPuiiq.verified.txt index 043372d798..7de075c6de 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQ31xUPuiiq.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQLrIUxEPAl.verified.txt index 9191ec3f6e..339d5853a9 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classQLrIUxEPAl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classgAKsr9pm9w.verified.txt index b40b56748f..c21d206341 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classgAKsr9pm9w.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classiaGiO6yFOT.verified.txt index c69e7eaf93..d721ea3503 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classiaGiO6yFOT.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classsThydxQv3t.verified.txt index 5bc4dddfa7..6b25f2014a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-classsThydxQv3t.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class67D9OX1YBs.verified.txt index ee09edbc9e..22d528264e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class8Ls5UqsVLU.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-class8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classCE600pzF1D.verified.txt index 92e36baf31..793d97dd52 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classIKki7umr9M.verified.txt index f1fd5a3104..8ddc26911c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQ31xUPuiiq.verified.txt index ad14f37050..095fdaba49 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQLrIUxEPAl.verified.txt index ab3b8290ba..4e3e68d9c6 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classgAKsr9pm9w.verified.txt index 756f0a84e7..24e99f09c5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classiaGiO6yFOT.verified.txt index 1dc1d6deb0..4dcb909705 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classsThydxQv3t.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-classsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct67D9OX1YBs.verified.txt index 190a48630f..8b23fdf619 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct67D9OX1YBs.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct8Ls5UqsVLU.verified.txt index 55199978fb..62b14b7265 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-struct8Ls5UqsVLU.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structCE600pzF1D.verified.txt index d0514ff296..7439e6f63b 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structCE600pzF1D.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structIKki7umr9M.verified.txt index 9fd4b50c89..61263811a2 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structIKki7umr9M.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQ31xUPuiiq.verified.txt index ce12bf180d..3706c4eaf1 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQ31xUPuiiq.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQLrIUxEPAl.verified.txt index ba33a6f29d..2c7ab8cc66 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structQLrIUxEPAl.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structgAKsr9pm9w.verified.txt index 0adef9d843..9bb3253d55 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structgAKsr9pm9w.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structiaGiO6yFOT.verified.txt index 0fa4baafd6..9b7cbd2133 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structiaGiO6yFOT.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structsThydxQv3t.verified.txt index 55199978fb..62b14b7265 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record-structsThydxQv3t.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record67D9OX1YBs.verified.txt index ee09edbc9e..22d528264e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record8Ls5UqsVLU.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-record8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordCE600pzF1D.verified.txt index 92e36baf31..793d97dd52 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordIKki7umr9M.verified.txt index f1fd5a3104..8ddc26911c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQ31xUPuiiq.verified.txt index ad14f37050..095fdaba49 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQLrIUxEPAl.verified.txt index ab3b8290ba..4e3e68d9c6 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordgAKsr9pm9w.verified.txt index 756f0a84e7..24e99f09c5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordiaGiO6yFOT.verified.txt index 1dc1d6deb0..4dcb909705 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordsThydxQv3t.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-recordsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct67D9OX1YBs.verified.txt index ec715c46b6..3aa821d50f 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct67D9OX1YBs.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct8Ls5UqsVLU.verified.txt index 732da9fa45..a2f5c0753c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-struct8Ls5UqsVLU.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structCE600pzF1D.verified.txt index fdad1b1562..3addeed884 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structCE600pzF1D.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structIKki7umr9M.verified.txt index ec59dede2e..fd8bb6efc6 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structIKki7umr9M.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQ31xUPuiiq.verified.txt index ec0bdc62a0..90e0eb74ec 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQ31xUPuiiq.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQLrIUxEPAl.verified.txt index 9740b4937b..471bd46e81 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structQLrIUxEPAl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structgAKsr9pm9w.verified.txt index 588f07f61e..01f7442207 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structgAKsr9pm9w.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structiaGiO6yFOT.verified.txt index a9ca6880aa..8977db1420 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structiaGiO6yFOT.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structsThydxQv3t.verified.txt index 732da9fa45..a2f5c0753c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/partial-structsThydxQv3t.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct67D9OX1YBs.verified.txt index a3bd4b1a67..0fcab28c44 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct67D9OX1YBs.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt index 27dfc40bce..50bc5187e0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structCE600pzF1D.verified.txt index c467d6759f..78f5d7bfae 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structCE600pzF1D.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structIKki7umr9M.verified.txt index a8c7869417..d509752b8e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structIKki7umr9M.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQ31xUPuiiq.verified.txt index 5abba7cafa..a1949a7288 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQ31xUPuiiq.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQLrIUxEPAl.verified.txt index 66400f3c94..75df1c0467 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structQLrIUxEPAl.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structgAKsr9pm9w.verified.txt index 6287b6261d..6acaa909c4 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structgAKsr9pm9w.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structiaGiO6yFOT.verified.txt index 817d895750..a1c55e3491 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structiaGiO6yFOT.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structsThydxQv3t.verified.txt index 27dfc40bce..50bc5187e0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-record-structsThydxQv3t.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct67D9OX1YBs.verified.txt index 378e42f031..ce3034f230 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct67D9OX1YBs.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct8Ls5UqsVLU.verified.txt index 57edb95406..7fe97ebc17 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-struct8Ls5UqsVLU.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structCE600pzF1D.verified.txt index 56ea11ba2f..3c9fcbd6a5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structCE600pzF1D.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structIKki7umr9M.verified.txt index f5261be9f9..ae3958531e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structIKki7umr9M.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQ31xUPuiiq.verified.txt index 42c98173d5..683f2b6a8a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQ31xUPuiiq.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQLrIUxEPAl.verified.txt index 8643ac31e7..7e3864cd57 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structQLrIUxEPAl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structgAKsr9pm9w.verified.txt index 3c1951657f..a1d18e04c7 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structgAKsr9pm9w.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structiaGiO6yFOT.verified.txt index 5f2b943b00..cf70632302 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structiaGiO6yFOT.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structsThydxQv3t.verified.txt index 57edb95406..7fe97ebc17 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/readonly-partial-structsThydxQv3t.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class67D9OX1YBs.verified.txt index 5b26b0ed19..e627dea3d9 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class67D9OX1YBs.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class8Ls5UqsVLU.verified.txt index d4b248e900..6269ed2327 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-class8Ls5UqsVLU.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classCE600pzF1D.verified.txt index c2c9c755f6..6a4c39f497 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classCE600pzF1D.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classIKki7umr9M.verified.txt index 0db41a72fb..db74a12f96 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classIKki7umr9M.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQ31xUPuiiq.verified.txt index c409b74932..24e94bb0ff 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQ31xUPuiiq.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQLrIUxEPAl.verified.txt index f95fc6ae3a..4690503862 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classQLrIUxEPAl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classgAKsr9pm9w.verified.txt index 504b79c278..28a3d4e04e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classgAKsr9pm9w.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classiaGiO6yFOT.verified.txt index fc20f1e72b..3d42444082 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classiaGiO6yFOT.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classsThydxQv3t.verified.txt index d4b248e900..6269ed2327 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-classsThydxQv3t.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class67D9OX1YBs.verified.txt index 2f99cb2658..6da4a206f0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classCE600pzF1D.verified.txt index d9bc1570f9..f643cc5603 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classIKki7umr9M.verified.txt index 474f6151e6..19f2575767 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQ31xUPuiiq.verified.txt index 653de51f97..393b441949 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQLrIUxEPAl.verified.txt index 94968cbca1..85c392a454 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classgAKsr9pm9w.verified.txt index ac60e4d3db..57fad3a400 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classiaGiO6yFOT.verified.txt index e7921e0640..654a4dd024 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classsThydxQv3t.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record-classsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record67D9OX1YBs.verified.txt index 2f99cb2658..6da4a206f0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record8Ls5UqsVLU.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-record8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordCE600pzF1D.verified.txt index d9bc1570f9..f643cc5603 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordIKki7umr9M.verified.txt index 474f6151e6..19f2575767 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQ31xUPuiiq.verified.txt index 653de51f97..393b441949 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQLrIUxEPAl.verified.txt index 94968cbca1..85c392a454 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordgAKsr9pm9w.verified.txt index ac60e4d3db..57fad3a400 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordiaGiO6yFOT.verified.txt index e7921e0640..654a4dd024 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordsThydxQv3t.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v8.0/sealed-partial-recordsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class67D9OX1YBs.verified.txt index f434e045bf..d1d4c373d8 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class67D9OX1YBs.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class8Ls5UqsVLU.verified.txt index 5bc4dddfa7..6b25f2014a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-class8Ls5UqsVLU.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classCE600pzF1D.verified.txt index e0a2372e84..8acb031a4a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classCE600pzF1D.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classIKki7umr9M.verified.txt index 843eca1ce6..7ea225619e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classIKki7umr9M.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQ31xUPuiiq.verified.txt index 043372d798..7de075c6de 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQ31xUPuiiq.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQLrIUxEPAl.verified.txt index 9191ec3f6e..339d5853a9 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classQLrIUxEPAl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classgAKsr9pm9w.verified.txt index b40b56748f..c21d206341 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classgAKsr9pm9w.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classiaGiO6yFOT.verified.txt index c69e7eaf93..d721ea3503 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classiaGiO6yFOT.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classsThydxQv3t.verified.txt index 5bc4dddfa7..6b25f2014a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-classsThydxQv3t.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class67D9OX1YBs.verified.txt index ee09edbc9e..22d528264e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class8Ls5UqsVLU.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-class8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classCE600pzF1D.verified.txt index 92e36baf31..793d97dd52 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classIKki7umr9M.verified.txt index f1fd5a3104..8ddc26911c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQ31xUPuiiq.verified.txt index ad14f37050..095fdaba49 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQLrIUxEPAl.verified.txt index ab3b8290ba..4e3e68d9c6 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classgAKsr9pm9w.verified.txt index 756f0a84e7..24e99f09c5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classiaGiO6yFOT.verified.txt index 1dc1d6deb0..4dcb909705 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classsThydxQv3t.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-classsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct67D9OX1YBs.verified.txt index 190a48630f..8b23fdf619 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct67D9OX1YBs.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct8Ls5UqsVLU.verified.txt index 55199978fb..62b14b7265 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-struct8Ls5UqsVLU.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structCE600pzF1D.verified.txt index d0514ff296..7439e6f63b 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structCE600pzF1D.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structIKki7umr9M.verified.txt index 9fd4b50c89..61263811a2 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structIKki7umr9M.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQ31xUPuiiq.verified.txt index ce12bf180d..3706c4eaf1 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQ31xUPuiiq.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQLrIUxEPAl.verified.txt index ba33a6f29d..2c7ab8cc66 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structQLrIUxEPAl.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structgAKsr9pm9w.verified.txt index 0adef9d843..9bb3253d55 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structgAKsr9pm9w.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structiaGiO6yFOT.verified.txt index 0fa4baafd6..9b7cbd2133 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structiaGiO6yFOT.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structsThydxQv3t.verified.txt index 55199978fb..62b14b7265 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record-structsThydxQv3t.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record67D9OX1YBs.verified.txt index ee09edbc9e..22d528264e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record8Ls5UqsVLU.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-record8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordCE600pzF1D.verified.txt index 92e36baf31..793d97dd52 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordIKki7umr9M.verified.txt index f1fd5a3104..8ddc26911c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQ31xUPuiiq.verified.txt index ad14f37050..095fdaba49 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQLrIUxEPAl.verified.txt index ab3b8290ba..4e3e68d9c6 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordgAKsr9pm9w.verified.txt index 756f0a84e7..24e99f09c5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordiaGiO6yFOT.verified.txt index 1dc1d6deb0..4dcb909705 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordsThydxQv3t.verified.txt index 0fb2ff3d0d..b5da470c22 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-recordsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct67D9OX1YBs.verified.txt index ec715c46b6..3aa821d50f 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct67D9OX1YBs.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct8Ls5UqsVLU.verified.txt index 732da9fa45..a2f5c0753c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-struct8Ls5UqsVLU.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structCE600pzF1D.verified.txt index fdad1b1562..3addeed884 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structCE600pzF1D.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structIKki7umr9M.verified.txt index ec59dede2e..fd8bb6efc6 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structIKki7umr9M.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQ31xUPuiiq.verified.txt index ec0bdc62a0..90e0eb74ec 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQ31xUPuiiq.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQLrIUxEPAl.verified.txt index 9740b4937b..471bd46e81 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structQLrIUxEPAl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structgAKsr9pm9w.verified.txt index 588f07f61e..01f7442207 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structgAKsr9pm9w.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structiaGiO6yFOT.verified.txt index a9ca6880aa..8977db1420 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structiaGiO6yFOT.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structsThydxQv3t.verified.txt index 732da9fa45..a2f5c0753c 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/partial-structsThydxQv3t.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct67D9OX1YBs.verified.txt index a3bd4b1a67..0fcab28c44 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct67D9OX1YBs.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt index 27dfc40bce..50bc5187e0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-struct8Ls5UqsVLU.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structCE600pzF1D.verified.txt index c467d6759f..78f5d7bfae 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structCE600pzF1D.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structIKki7umr9M.verified.txt index a8c7869417..d509752b8e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structIKki7umr9M.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQ31xUPuiiq.verified.txt index 5abba7cafa..a1949a7288 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQ31xUPuiiq.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQLrIUxEPAl.verified.txt index 66400f3c94..75df1c0467 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structQLrIUxEPAl.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structgAKsr9pm9w.verified.txt index 6287b6261d..6acaa909c4 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structgAKsr9pm9w.verified.txt @@ -533,14 +533,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structiaGiO6yFOT.verified.txt index 817d895750..a1c55e3491 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structiaGiO6yFOT.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structsThydxQv3t.verified.txt index 27dfc40bce..50bc5187e0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-record-structsThydxQv3t.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct67D9OX1YBs.verified.txt index 378e42f031..ce3034f230 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct67D9OX1YBs.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct8Ls5UqsVLU.verified.txt index 57edb95406..7fe97ebc17 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-struct8Ls5UqsVLU.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structCE600pzF1D.verified.txt index 56ea11ba2f..3c9fcbd6a5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structCE600pzF1D.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structIKki7umr9M.verified.txt index f5261be9f9..ae3958531e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structIKki7umr9M.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQ31xUPuiiq.verified.txt index 42c98173d5..683f2b6a8a 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQ31xUPuiiq.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQLrIUxEPAl.verified.txt index 8643ac31e7..7e3864cd57 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structQLrIUxEPAl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structgAKsr9pm9w.verified.txt index 3c1951657f..a1d18e04c7 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structgAKsr9pm9w.verified.txt @@ -535,14 +535,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structiaGiO6yFOT.verified.txt index 5f2b943b00..cf70632302 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structiaGiO6yFOT.verified.txt @@ -536,14 +536,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structsThydxQv3t.verified.txt index 57edb95406..7fe97ebc17 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/readonly-partial-structsThydxQv3t.verified.txt @@ -537,14 +537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class67D9OX1YBs.verified.txt index 5b26b0ed19..e627dea3d9 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class67D9OX1YBs.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class8Ls5UqsVLU.verified.txt index d4b248e900..6269ed2327 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-class8Ls5UqsVLU.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classCE600pzF1D.verified.txt index c2c9c755f6..6a4c39f497 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classCE600pzF1D.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classIKki7umr9M.verified.txt index 0db41a72fb..db74a12f96 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classIKki7umr9M.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQ31xUPuiiq.verified.txt index c409b74932..24e94bb0ff 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQ31xUPuiiq.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQLrIUxEPAl.verified.txt index f95fc6ae3a..4690503862 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classQLrIUxEPAl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classgAKsr9pm9w.verified.txt index 504b79c278..28a3d4e04e 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classgAKsr9pm9w.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classiaGiO6yFOT.verified.txt index fc20f1e72b..3d42444082 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classiaGiO6yFOT.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classsThydxQv3t.verified.txt index d4b248e900..6269ed2327 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-classsThydxQv3t.verified.txt @@ -552,14 +552,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class67D9OX1YBs.verified.txt index 2f99cb2658..6da4a206f0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-class8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classCE600pzF1D.verified.txt index d9bc1570f9..f643cc5603 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classIKki7umr9M.verified.txt index 474f6151e6..19f2575767 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQ31xUPuiiq.verified.txt index 653de51f97..393b441949 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQLrIUxEPAl.verified.txt index 94968cbca1..85c392a454 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classgAKsr9pm9w.verified.txt index ac60e4d3db..57fad3a400 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classiaGiO6yFOT.verified.txt index e7921e0640..654a4dd024 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classsThydxQv3t.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record-classsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record67D9OX1YBs.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record67D9OX1YBs.verified.txt index 2f99cb2658..6da4a206f0 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record67D9OX1YBs.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record67D9OX1YBs.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record8Ls5UqsVLU.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record8Ls5UqsVLU.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record8Ls5UqsVLU.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-record8Ls5UqsVLU.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordCE600pzF1D.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordCE600pzF1D.verified.txt index d9bc1570f9..f643cc5603 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordCE600pzF1D.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordCE600pzF1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordIKki7umr9M.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordIKki7umr9M.verified.txt index 474f6151e6..19f2575767 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordIKki7umr9M.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordIKki7umr9M.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQ31xUPuiiq.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQ31xUPuiiq.verified.txt index 653de51f97..393b441949 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQ31xUPuiiq.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQ31xUPuiiq.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQLrIUxEPAl.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQLrIUxEPAl.verified.txt index 94968cbca1..85c392a454 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQLrIUxEPAl.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordQLrIUxEPAl.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordgAKsr9pm9w.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordgAKsr9pm9w.verified.txt index ac60e4d3db..57fad3a400 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordgAKsr9pm9w.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordgAKsr9pm9w.verified.txt @@ -549,14 +549,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordiaGiO6yFOT.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordiaGiO6yFOT.verified.txt index e7921e0640..654a4dd024 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordiaGiO6yFOT.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordiaGiO6yFOT.verified.txt @@ -550,14 +550,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordsThydxQv3t.verified.txt b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordsThydxQv3t.verified.txt index 46ebec1b44..0b0ad54cd5 100644 --- a/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordsThydxQv3t.verified.txt +++ b/tests/SnapshotTests/ConversionPermutations/snapshots/snap-v9.0/sealed-partial-recordsThydxQv3t.verified.txt @@ -551,14 +551,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_for_escaped_types.verified.txt b/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_for_escaped_types.verified.txt index 769de03334..fe62d68243 100644 --- a/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_for_escaped_types.verified.txt +++ b/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_for_escaped_types.verified.txt @@ -1537,14 +1537,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2601,14 +2601,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -4072,14 +4072,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -4740,14 +4740,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -5425,14 +5425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -6096,14 +6096,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -6765,14 +6765,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -7450,14 +7450,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_if_attribute_present_and_on_net_8_or_greater.verified.txt b/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_if_attribute_present_and_on_net_8_or_greater.verified.txt index 5ba9826bc7..998fb6656e 100644 --- a/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_if_attribute_present_and_on_net_8_or_greater.verified.txt +++ b/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_if_attribute_present_and_on_net_8_or_greater.verified.txt @@ -1248,14 +1248,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2304,14 +2304,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_that_respect_namespaces.verified.txt b/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_that_respect_namespaces.verified.txt index 6fa97c4b9d..8bb5ee0377 100644 --- a/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_that_respect_namespaces.verified.txt +++ b/tests/SnapshotTests/EfCoreGeneration/snapshots/snap-v8.0/EfCoreGenerationTests.Writes_efcore_converters_that_respect_namespaces.verified.txt @@ -795,14 +795,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1442,14 +1442,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_00f0de357be35a08.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_00f0de357be35a08.verified.txt index ee3ac73a71..498ce626db 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_00f0de357be35a08.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_00f0de357be35a08.verified.txt @@ -505,14 +505,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_049e1105bdb5b16f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_049e1105bdb5b16f.verified.txt index 2c6b6f6d78..2cd2bea709 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_049e1105bdb5b16f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_049e1105bdb5b16f.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_0e56e391c0ee11e4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_0e56e391c0ee11e4.verified.txt index 994be568a2..31a788b2b7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_0e56e391c0ee11e4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_0e56e391c0ee11e4.verified.txt @@ -668,14 +668,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_11bee1513b16a9be.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_11bee1513b16a9be.verified.txt index a511601f0a..2d90733e82 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_11bee1513b16a9be.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_11bee1513b16a9be.verified.txt @@ -487,14 +487,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_13a859c74cc583d9.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_13a859c74cc583d9.verified.txt index 9a6f8102c9..105755b059 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_13a859c74cc583d9.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_13a859c74cc583d9.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_154fdf2a505ad70f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_154fdf2a505ad70f.verified.txt index f8d6f66d79..3c83c5c917 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_154fdf2a505ad70f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_154fdf2a505ad70f.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_202d284430690bc3.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_202d284430690bc3.verified.txt index 02390239e7..a04f5938c3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_202d284430690bc3.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_202d284430690bc3.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_2761b27537f8291c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_2761b27537f8291c.verified.txt index 16fabac605..121817ab74 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_2761b27537f8291c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_2761b27537f8291c.verified.txt @@ -510,14 +510,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_36ed836857ad1074.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_36ed836857ad1074.verified.txt index 6ef6bc7254..a2f7e4c863 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_36ed836857ad1074.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_36ed836857ad1074.verified.txt @@ -643,14 +643,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_383a5e8d4338a7bb.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_383a5e8d4338a7bb.verified.txt index d394fd3203..1c69cd6cd8 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_383a5e8d4338a7bb.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_383a5e8d4338a7bb.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_392023cc6b8fb14b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_392023cc6b8fb14b.verified.txt index 2ab4a268e5..fdb7326700 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_392023cc6b8fb14b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_392023cc6b8fb14b.verified.txt @@ -649,14 +649,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39c3a97689cb51d7.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39c3a97689cb51d7.verified.txt index bb86b3adf8..8ab2008b08 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39c3a97689cb51d7.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39c3a97689cb51d7.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39f9bf5950778f06.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39f9bf5950778f06.verified.txt index 3beb74c507..e068e56a31 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39f9bf5950778f06.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_39f9bf5950778f06.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_45781cab9ba25260.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_45781cab9ba25260.verified.txt index bc6b204852..70aca4df18 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_45781cab9ba25260.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_45781cab9ba25260.verified.txt @@ -673,14 +673,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4a5a05131065420a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4a5a05131065420a.verified.txt index 8c2bae5b78..f46119e445 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4a5a05131065420a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4a5a05131065420a.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4b00975e163f6b86.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4b00975e163f6b86.verified.txt index f61d9e349e..c5dabc0d61 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4b00975e163f6b86.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_4b00975e163f6b86.verified.txt @@ -647,14 +647,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_530208c3e2dc0b18.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_530208c3e2dc0b18.verified.txt index dd7b1c48b7..f862bc33ee 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_530208c3e2dc0b18.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_530208c3e2dc0b18.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_54f6c6bc47a57718.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_54f6c6bc47a57718.verified.txt index a872357c0b..f6e574f63e 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_54f6c6bc47a57718.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_54f6c6bc47a57718.verified.txt @@ -644,14 +644,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5820ed23da537184.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5820ed23da537184.verified.txt index 0325e9017c..bdbcd7f4de 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5820ed23da537184.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5820ed23da537184.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5fe3a4da9d2800b4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5fe3a4da9d2800b4.verified.txt index 3a0616c416..15556d59b5 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5fe3a4da9d2800b4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_5fe3a4da9d2800b4.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_60d02d7b8944ec5d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_60d02d7b8944ec5d.verified.txt index 8cdd278ee7..314381bd95 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_60d02d7b8944ec5d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_60d02d7b8944ec5d.verified.txt @@ -480,14 +480,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_658b055b26454057.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_658b055b26454057.verified.txt index fba3582414..b4809ba802 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_658b055b26454057.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_658b055b26454057.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6a70dfd519513c1f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6a70dfd519513c1f.verified.txt index cbc43750dc..2af76fe3ab 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6a70dfd519513c1f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6a70dfd519513c1f.verified.txt @@ -641,14 +641,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6c4eba76ec5d1088.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6c4eba76ec5d1088.verified.txt index f344a7d38d..7ae3e3f2e1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6c4eba76ec5d1088.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6c4eba76ec5d1088.verified.txt @@ -649,14 +649,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fa9b36dcc44f917.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fa9b36dcc44f917.verified.txt index 1c30d7e3e0..3fb6848b0d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fa9b36dcc44f917.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fa9b36dcc44f917.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fc3c4fff8f21f4b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fc3c4fff8f21f4b.verified.txt index 0601fb0954..bf69360925 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fc3c4fff8f21f4b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fc3c4fff8f21f4b.verified.txt @@ -647,14 +647,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fdf702b98da6651.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fdf702b98da6651.verified.txt index 9359d7999c..16e476af60 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fdf702b98da6651.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_6fdf702b98da6651.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_768e4714a020767d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_768e4714a020767d.verified.txt index 03ab84ac49..7d22eae1d5 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_768e4714a020767d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_768e4714a020767d.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76e4ba2a03a54432.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76e4ba2a03a54432.verified.txt index 9b910f342a..21afb77b50 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76e4ba2a03a54432.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76e4ba2a03a54432.verified.txt @@ -485,14 +485,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76fcc90c4238fccf.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76fcc90c4238fccf.verified.txt index 52762c7ca2..c1a77c7ed2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76fcc90c4238fccf.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_76fcc90c4238fccf.verified.txt @@ -505,14 +505,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7a2076c9ed29e130.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7a2076c9ed29e130.verified.txt index 67ad900368..9ef1b189b5 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7a2076c9ed29e130.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7a2076c9ed29e130.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7b85220c41b26579.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7b85220c41b26579.verified.txt index 2e956c165f..fa92908f79 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7b85220c41b26579.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7b85220c41b26579.verified.txt @@ -649,14 +649,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c3db125e2b5aa08.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c3db125e2b5aa08.verified.txt index 7ed1f85d16..39c9ae7037 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c3db125e2b5aa08.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c3db125e2b5aa08.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c5366fdd9f5e24f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c5366fdd9f5e24f.verified.txt index 0a178153fc..238c019af2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c5366fdd9f5e24f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7c5366fdd9f5e24f.verified.txt @@ -485,14 +485,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7cef0be2c9de225c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7cef0be2c9de225c.verified.txt index 1c778d9871..f421e3946d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7cef0be2c9de225c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_7cef0be2c9de225c.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_837c6887223e61fe.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_837c6887223e61fe.verified.txt index d7f165ca61..3f36950f99 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_837c6887223e61fe.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_837c6887223e61fe.verified.txt @@ -673,14 +673,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_845209a08faecfcc.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_845209a08faecfcc.verified.txt index e821113de6..9963269111 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_845209a08faecfcc.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_845209a08faecfcc.verified.txt @@ -510,14 +510,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8701acaae4a8b8f1.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8701acaae4a8b8f1.verified.txt index a74902d95c..1d31928c5c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8701acaae4a8b8f1.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8701acaae4a8b8f1.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_872ae19f3cc5d340.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_872ae19f3cc5d340.verified.txt index ff43bf25b3..35e6ef800b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_872ae19f3cc5d340.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_872ae19f3cc5d340.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_87c2d444a420d3ea.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_87c2d444a420d3ea.verified.txt index 22c8955de2..464431a947 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_87c2d444a420d3ea.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_87c2d444a420d3ea.verified.txt @@ -641,14 +641,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8e556a0e181055d2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8e556a0e181055d2.verified.txt index 5c2e420189..8d890c5a3b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8e556a0e181055d2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_8e556a0e181055d2.verified.txt @@ -505,14 +505,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_92272c4111559756.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_92272c4111559756.verified.txt index 25dbffe743..fa4db8fc42 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_92272c4111559756.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_92272c4111559756.verified.txt @@ -511,14 +511,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_95733862f544af43.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_95733862f544af43.verified.txt index 30de054824..3b08d70f6f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_95733862f544af43.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_95733862f544af43.verified.txt @@ -510,14 +510,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_96135dc4bcf54d2b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_96135dc4bcf54d2b.verified.txt index bfe17a19ef..bfd50e3358 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_96135dc4bcf54d2b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_96135dc4bcf54d2b.verified.txt @@ -482,14 +482,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_99ed2d8a7af7c322.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_99ed2d8a7af7c322.verified.txt index a27a894a56..a1810aefc5 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_99ed2d8a7af7c322.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_99ed2d8a7af7c322.verified.txt @@ -510,14 +510,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9a0e1c590d3ebd3b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9a0e1c590d3ebd3b.verified.txt index a36ab8905d..9db0d8696f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9a0e1c590d3ebd3b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9a0e1c590d3ebd3b.verified.txt @@ -481,14 +481,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b38eefdbaafb0a5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b38eefdbaafb0a5.verified.txt index a608c1337f..17dff862a0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b38eefdbaafb0a5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b38eefdbaafb0a5.verified.txt @@ -482,14 +482,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b926e43df789556.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b926e43df789556.verified.txt index b77445d834..c718110f0f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b926e43df789556.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9b926e43df789556.verified.txt @@ -644,14 +644,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9c55fb544d498ed1.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9c55fb544d498ed1.verified.txt index 94a2d98898..b37c68c68a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9c55fb544d498ed1.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9c55fb544d498ed1.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9dc25d08b78337e0.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9dc25d08b78337e0.verified.txt index 4fe983e8e9..ec9d307b0f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9dc25d08b78337e0.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9dc25d08b78337e0.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9edf75aa18e466ac.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9edf75aa18e466ac.verified.txt index d08479d188..cd7e4f230d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9edf75aa18e466ac.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9edf75aa18e466ac.verified.txt @@ -644,14 +644,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9f95f94f07a018bc.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9f95f94f07a018bc.verified.txt index f77719a2b6..4f57069c03 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9f95f94f07a018bc.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_9f95f94f07a018bc.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a0e6609507fce982.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a0e6609507fce982.verified.txt index ef844f6cac..8d61483a36 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a0e6609507fce982.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a0e6609507fce982.verified.txt @@ -668,14 +668,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a2c530119d8a204e.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a2c530119d8a204e.verified.txt index c6e53b2037..c6dfcbf805 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a2c530119d8a204e.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a2c530119d8a204e.verified.txt @@ -643,14 +643,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a575815cef8c1341.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a575815cef8c1341.verified.txt index f9a970edcb..eee17cbae5 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a575815cef8c1341.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a575815cef8c1341.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a86791e3a97daabc.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a86791e3a97daabc.verified.txt index 37481f7130..98c7d48b4f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a86791e3a97daabc.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_a86791e3a97daabc.verified.txt @@ -505,14 +505,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ac22f436dda4f72a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ac22f436dda4f72a.verified.txt index f626dfc5b7..15978df8c8 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ac22f436dda4f72a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ac22f436dda4f72a.verified.txt @@ -643,14 +643,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ad1a3689ed3c418f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ad1a3689ed3c418f.verified.txt index 2ff0bbd270..1ae09b37f9 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ad1a3689ed3c418f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ad1a3689ed3c418f.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aec8592ffdf1fdd4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aec8592ffdf1fdd4.verified.txt index 7c51f0c2ae..e83f264293 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aec8592ffdf1fdd4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aec8592ffdf1fdd4.verified.txt @@ -479,14 +479,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aed2c28062246796.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aed2c28062246796.verified.txt index 22f15c7936..c0df85423e 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aed2c28062246796.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_aed2c28062246796.verified.txt @@ -505,14 +505,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_affaac1393a5dbeb.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_affaac1393a5dbeb.verified.txt index 58dba05675..0cb2677ad2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_affaac1393a5dbeb.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_affaac1393a5dbeb.verified.txt @@ -506,14 +506,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b0214b8897241926.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b0214b8897241926.verified.txt index c18a763ebe..bcc37f94be 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b0214b8897241926.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b0214b8897241926.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1173c52d299b220.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1173c52d299b220.verified.txt index 91f61d5a6e..e4cd16eeba 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1173c52d299b220.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1173c52d299b220.verified.txt @@ -643,14 +643,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1d736c2e00cc0f2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1d736c2e00cc0f2.verified.txt index 5969b0b3fc..d6a5a16f61 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1d736c2e00cc0f2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b1d736c2e00cc0f2.verified.txt @@ -641,14 +641,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b3df095c06c8dc2a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b3df095c06c8dc2a.verified.txt index f555b67ac4..6efb291442 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b3df095c06c8dc2a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b3df095c06c8dc2a.verified.txt @@ -642,14 +642,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b8834e0d8c0a7d1a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b8834e0d8c0a7d1a.verified.txt index d746551cb1..947a90ee87 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b8834e0d8c0a7d1a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_b8834e0d8c0a7d1a.verified.txt @@ -667,14 +667,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ba76c308aba91a6b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ba76c308aba91a6b.verified.txt index 52ff9a7e19..e80bbbca8c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ba76c308aba91a6b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ba76c308aba91a6b.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c19b0d0af9db430d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c19b0d0af9db430d.verified.txt index 0e89f06f28..417c1f4975 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c19b0d0af9db430d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c19b0d0af9db430d.verified.txt @@ -481,14 +481,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c4d92e574fe04430.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c4d92e574fe04430.verified.txt index 6b40403a78..ec94645638 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c4d92e574fe04430.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c4d92e574fe04430.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c5c017cc376093a8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c5c017cc376093a8.verified.txt index d712e0743c..c121b29f05 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c5c017cc376093a8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_c5c017cc376093a8.verified.txt @@ -505,14 +505,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce6f86880328babd.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce6f86880328babd.verified.txt index 4ae529a9bb..dd050437ee 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce6f86880328babd.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce6f86880328babd.verified.txt @@ -642,14 +642,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce9a45e95087de82.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce9a45e95087de82.verified.txt index 30a71a0462..0bc6d024d2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce9a45e95087de82.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ce9a45e95087de82.verified.txt @@ -644,14 +644,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d11a2cb3500bd652.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d11a2cb3500bd652.verified.txt index 25037cb837..3b3df0ea88 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d11a2cb3500bd652.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d11a2cb3500bd652.verified.txt @@ -641,14 +641,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d161ce7be9b82eac.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d161ce7be9b82eac.verified.txt index 4597d76843..74f1bca0c9 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d161ce7be9b82eac.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d161ce7be9b82eac.verified.txt @@ -668,14 +668,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.verified.txt index 3397361fb7..93bd95f567 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.verified.txt @@ -487,14 +487,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d20c19887f82465f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d20c19887f82465f.verified.txt index 72b0879309..5db148e8d9 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d20c19887f82465f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d20c19887f82465f.verified.txt @@ -479,14 +479,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d5597a9e0669d828.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d5597a9e0669d828.verified.txt index fd41270b2d..5302e11537 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d5597a9e0669d828.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d5597a9e0669d828.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d87695b2c62eb858.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d87695b2c62eb858.verified.txt index 0bece2fc46..8ee91bf650 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d87695b2c62eb858.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d87695b2c62eb858.verified.txt @@ -666,14 +666,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_db9fbc55f74b632c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_db9fbc55f74b632c.verified.txt index 609f26c85e..2cf9730b00 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_db9fbc55f74b632c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_db9fbc55f74b632c.verified.txt @@ -673,14 +673,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_dd12025652160002.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_dd12025652160002.verified.txt index 1aac8129e0..612039e2a9 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_dd12025652160002.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_dd12025652160002.verified.txt @@ -480,14 +480,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_debf2d08228c151e.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_debf2d08228c151e.verified.txt index 46cf400ce8..d8e3e31464 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_debf2d08228c151e.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_debf2d08228c151e.verified.txt @@ -647,14 +647,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e009ee077abcb511.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e009ee077abcb511.verified.txt index 64ba4b49ad..16e5dfbc9f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e009ee077abcb511.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e009ee077abcb511.verified.txt @@ -511,14 +511,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e74f2367a1f05be8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e74f2367a1f05be8.verified.txt index 74fd76f69c..b8f95663b7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e74f2367a1f05be8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e74f2367a1f05be8.verified.txt @@ -647,14 +647,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e933201f374e2884.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e933201f374e2884.verified.txt index 9468b7aaf4..15d3ec3274 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e933201f374e2884.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_e933201f374e2884.verified.txt @@ -642,14 +642,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_eac1116bb9ee271b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_eac1116bb9ee271b.verified.txt index b989d7e173..f72236905e 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_eac1116bb9ee271b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_eac1116bb9ee271b.verified.txt @@ -649,14 +649,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ecba4ff8b0c68c7c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ecba4ff8b0c68c7c.verified.txt index 3b9a5d3175..452c8844f0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ecba4ff8b0c68c7c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_ecba4ff8b0c68c7c.verified.txt @@ -506,14 +506,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_f480b93b6767cae7.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_f480b93b6767cae7.verified.txt index b5844a44c5..238fd223d2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_f480b93b6767cae7.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_f480b93b6767cae7.verified.txt @@ -672,14 +672,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fae889c1ae954e1c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fae889c1ae954e1c.verified.txt index fcddd54a9b..7b67b2de0a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fae889c1ae954e1c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fae889c1ae954e1c.verified.txt @@ -642,14 +642,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fdf47643aed6e936.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fdf47643aed6e936.verified.txt index 495c83176b..d49d97d044 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fdf47643aed6e936.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fdf47643aed6e936.verified.txt @@ -668,14 +668,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fec5b685544eecd8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fec5b685544eecd8.verified.txt index 86b08c0b0d..ca60991270 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fec5b685544eecd8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_fec5b685544eecd8.verified.txt @@ -673,14 +673,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.MixtureOfKeywords.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.MixtureOfKeywords.verified.txt index 1fd43a33a5..923b394760 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.MixtureOfKeywords.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedEfCoreConverters.MixtureOfKeywords.verified.txt @@ -1404,14 +1404,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2091,14 +2091,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt index d429e89d89..8cc54f9430 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt index a2a8151c20..65e9e0a7c0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt @@ -363,14 +363,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt index 570a04984b..e58a93b52a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt @@ -378,14 +378,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt index e15cc9c6a1..446b1a6ed4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt index ee865bc894..f151dd0bc2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt index c80863de1a..6b1a7c6a2c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt index 0e4fb8f8ca..566f87fb99 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt index 7500ec0833..20bbc6107c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt index d3e98cf156..777dab8a26 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt index dc17b106ba..718399c154 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt index 85601ae6b2..ab79120a01 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt index 054be9f93b..4a83bad168 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt index a7c7a0d70c..85832391a2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt index 7831288d54..7a746510bd 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt index 639b2ca1b2..7610e396c7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt index d3db9b70b1..41342a56eb 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt index 72071a7f6c..110877dd56 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt index 6410bbb832..4fb94d3f7d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt index ea440a0104..f529bfb978 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt index f9e7a78915..73b82cf077 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt index 10a3d3d4b8..1e403f09a1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt index eacbb82b8a..d1018fe66b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt index 18fd82f6db..e84bb857e7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt index 70329ab9be..2e55399db2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt index c160f793be..1f704fed6e 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt @@ -362,14 +362,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt index 1eddb3679e..5f292729c1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt index 330b1040e9..6c48e4a973 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt index 0702745c09..55040a8772 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt index 77e0ddb34a..5df0d12138 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt index beb4f80997..d197c0d3c1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt index bebfc4cd2d..906ec91a41 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt index a8801fb3cc..60c3d755d0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt index 480b3ecf4c..9634e16461 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt @@ -361,14 +361,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt index deba70266b..766ee4618b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt index fc0ec57285..d05b6f2054 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt @@ -360,14 +360,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt index bbe2a2569e..c5a4b24189 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt index b2a1e4e8ba..7c51075892 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt index 099e110c83..290584d658 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt @@ -362,14 +362,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt index 69d81d479c..5f27fedd98 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt index 47d4a874d2..cbb0f0d419 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt index f9387c078d..09694e2136 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt index 217ca65a20..d029f30771 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt index 4f11afc754..15b4fe2b6a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt index 8e2939357f..d934e2ffe4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt index 303862d232..089c856314 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt index ec68b221a9..64dd62c132 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt index d017d5bffa..163cdaf5e3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt index 2bcb70e328..5bad4daf68 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt index 4ae0bee303..f3a8a560f7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt index 3eac99d32a..f3899b178f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt index e20faed5c6..e10e688778 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt index 1f7507c0e3..78cc6c470f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt @@ -363,14 +363,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt index f358c59a27..31f9cb7f48 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt index f4c51ec44e..9e0e73b460 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt index 4e794c1a16..becff697c4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt index 6fd8a0ee5e..079be0e180 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt index 32f1b1fc0f..60d268868d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt index d0da281cff..763b018b85 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt index ecb706a5c3..fe19be7539 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt @@ -378,14 +378,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt index 2e00e1871c..bb9f139518 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt index b16d37ed95..4c42b4ee70 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt index 10a5edabe5..33ec619fcd 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt index fa9d45dcb8..e390f2049c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt index dac5a34e8e..05349d94ff 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt index 1644a92218..c1c96fd1d3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt index f7e7da7532..2a56bb90fc 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt index 087db9380e..fa6c6fe7cf 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt index e49abb53f5..2e455c1f0f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt index 2ff704f872..377c01241c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt index e53e305026..4a6a942214 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt index 94f7e3fbf6..b72a5f0077 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt index 361b407cac..e33674377a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt index 0df59ecb29..e311f92205 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt @@ -361,14 +361,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt index dae01e022f..e9b6641903 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt index b7bae30afd..9f540ab1d2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt index 5ad5e6aa01..5ef94e16cb 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt index 1fd379455b..8048c74296 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt index df8e3fd4fb..487889cf7a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt index 54bd439158..3e5f19598c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt index 8bd743ebe8..37dd24b491 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt index 25f64ca73a..af0b57f8d3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt index f7ea897776..9f421a9afb 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt index 8660467f61..85b01269e4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt index fb28206274..09dd18673b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt index c5a52e0aa8..0b7a6fcfab 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt index 54e63cc27b..4a936a1410 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt index 360bf26004..5b2b87ac9b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt index 3a788c49be..e61cbc1045 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt @@ -360,14 +360,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt index 23a410b1b6..798a53c6c0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt index a14e1c28e1..77ed514d80 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt index f55751c2f1..2b261a5f35 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v8.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt @@ -887,14 +887,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1574,14 +1574,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2261,14 +2261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt index d429e89d89..8cc54f9430 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0673b7c67888cbf2.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt index a2a8151c20..65e9e0a7c0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_086f54775a77d9c5.verified.txt @@ -363,14 +363,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt index 570a04984b..e58a93b52a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_09c1a61a6faa5ca3.verified.txt @@ -378,14 +378,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt index e15cc9c6a1..446b1a6ed4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0b53923dceda5ba6.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt index ee865bc894..f151dd0bc2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_0f046b0c9826e95c.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt index c80863de1a..6b1a7c6a2c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1265a0d2b4d8039a.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt index 0e4fb8f8ca..566f87fb99 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_129278a5ed4559ed.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt index 7500ec0833..20bbc6107c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_15031e73c9dbf272.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt index d3e98cf156..777dab8a26 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_17e586e069758af8.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt index dc17b106ba..718399c154 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1c1598b9718c7ce3.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt index 85601ae6b2..ab79120a01 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1d65d9866d8deffa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt index 054be9f93b..4a83bad168 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1e1dbbe7e19a1bc6.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt index a7c7a0d70c..85832391a2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_1f83aefa399cd015.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt index 7831288d54..7a746510bd 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_215f86f24487bf49.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt index 639b2ca1b2..7610e396c7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21796e4b913e08b1.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt index d3db9b70b1..41342a56eb 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_21ccea8ea676ba7b.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt index 72071a7f6c..110877dd56 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_22a6348fd9b1ab94.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt index 6410bbb832..4fb94d3f7d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_2319205c8529148c.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt index ea440a0104..f529bfb978 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_24dc63a70a905c90.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt index f9e7a78915..73b82cf077 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_25f52f8396f935b2.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt index 10a3d3d4b8..1e403f09a1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_29c8cb302547a655.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt index eacbb82b8a..d1018fe66b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_339701e679bfc514.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt index 18fd82f6db..e84bb857e7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_377e3c6a592f4c45.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt index 70329ab9be..2e55399db2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_41ec5a0d9e86a841.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt index c160f793be..1f704fed6e 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4255641ed8f4e268.verified.txt @@ -362,14 +362,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt index 1eddb3679e..5f292729c1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_47fe69b8519b4948.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt index 330b1040e9..6c48e4a973 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_483564b15783e784.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt index 0702745c09..55040a8772 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4b9018a35181245b.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt index 77e0ddb34a..5df0d12138 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_4bb088c44f980569.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt index beb4f80997..d197c0d3c1 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_539aabef2beb36e5.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt index bebfc4cd2d..906ec91a41 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_53bbc9893ab11c8c.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt index a8801fb3cc..60c3d755d0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5554469b0be91e9a.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt index 480b3ecf4c..9634e16461 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_5aa8dac0a3c7eba5.verified.txt @@ -361,14 +361,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt index deba70266b..766ee4618b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_60ca130d93b7466a.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt index fc0ec57285..d05b6f2054 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_61fac8bd2a10e8ec.verified.txt @@ -360,14 +360,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt index bbe2a2569e..c5a4b24189 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_63c027478f9ff46d.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt index b2a1e4e8ba..7c51075892 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_668b25897cd85c36.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt index 099e110c83..290584d658 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_66ddd4c66851da6d.verified.txt @@ -362,14 +362,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt index 69d81d479c..5f27fedd98 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_6b5ae4334e44f561.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt index 47d4a874d2..cbb0f0d419 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7181d3048cad76b6.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt index f9387c078d..09694e2136 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_76a0adfb9e92ec05.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt index 217ca65a20..d029f30771 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_7dd3ddd7ae669b24.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt index 4f11afc754..15b4fe2b6a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_812a8cef1cf2aa26.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt index 8e2939357f..d934e2ffe4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_81370264f8d71161.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt index 303862d232..089c856314 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_849ac0d8b5245c6a.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt index ec68b221a9..64dd62c132 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8a1d2de37e63c0e4.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt index d017d5bffa..163cdaf5e3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8b1a7bac048f9255.verified.txt @@ -523,14 +523,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt index 2bcb70e328..5bad4daf68 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d20e3bc510b067d.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt index 4ae0bee303..f3a8a560f7 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_8d8e49a9a62fdea2.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt index 3eac99d32a..f3899b178f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9064b030d3c9ce1f.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt index e20faed5c6..e10e688778 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_961e83810bc4bf14.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt index 1f7507c0e3..78cc6c470f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_98edb6277d4f5e19.verified.txt @@ -363,14 +363,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt index f358c59a27..31f9cb7f48 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9c74280d95f1e677.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt index f4c51ec44e..9e0e73b460 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9dafdd43840247ed.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt index 4e794c1a16..becff697c4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_9efb699a57958397.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt index 6fd8a0ee5e..079be0e180 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a1a14f4ff973dbab.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt index 32f1b1fc0f..60d268868d 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a6980330d9171293.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt index d0da281cff..763b018b85 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_a8460e15a376fa02.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt index ecb706a5c3..fe19be7539 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_adaca537fc80fd6c.verified.txt @@ -378,14 +378,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt index 2e00e1871c..bb9f139518 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ae06728abad785ac.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt index b16d37ed95..4c42b4ee70 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_af87657d7f6215bb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt index 10a5edabe5..33ec619fcd 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b5a49ecfb7e9947f.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt index fa9d45dcb8..e390f2049c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_b655a6800252f6d6.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt index dac5a34e8e..05349d94ff 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_bb1d5d628536175b.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt index 1644a92218..c1c96fd1d3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c2178ebb808ae963.verified.txt @@ -525,14 +525,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt index f7e7da7532..2a56bb90fc 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_c3b860703471d16e.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt index 087db9380e..fa6c6fe7cf 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbcf0cbc7cec11c1.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt index e49abb53f5..2e455c1f0f 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_cbf34ccd53d4837a.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt index 2ff704f872..377c01241c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ccdc7c131ab75a2a.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt index e53e305026..4a6a942214 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ce405c0d5085ccf9.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt index 94f7e3fbf6..b72a5f0077 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d1322012b51d0370.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt index 361b407cac..e33674377a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d4f84602c467a90b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt index 0df59ecb29..e311f92205 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_d780d37016a685a6.verified.txt @@ -361,14 +361,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt index dae01e022f..e9b6641903 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ddfae05e0d29d8f8.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt index b7bae30afd..9f540ab1d2 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_df30454476277ac9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt index 5ad5e6aa01..5ef94e16cb 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e22badabf8ab89c6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt index 1fd379455b..8048c74296 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_e40b82ac9e007e36.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt index df8e3fd4fb..487889cf7a 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ef9985ef35660da7.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt index 54bd439158..3e5f19598c 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f027edf309f78cbb.verified.txt @@ -538,14 +538,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt index 8bd743ebe8..37dd24b491 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f4eadb2776514655.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt index 25f64ca73a..af0b57f8d3 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f5760ac41d179c1a.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt index f7ea897776..9f421a9afb 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f6d000bc60fa7823.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt index 8660467f61..85b01269e4 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_f9fa3c0d67715697.verified.txt @@ -522,14 +522,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt index fb28206274..09dd18673b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_faa9ada46fec9511.verified.txt @@ -377,14 +377,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt index c5a52e0aa8..0b7a6fcfab 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fadf69c2d89b838d.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt index 54e63cc27b..4a936a1410 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fafc82b4aaa1a332.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt index 360bf26004..5b2b87ac9b 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fbac89af5f31335f.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt index 3a788c49be..e61cbc1045 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fdc2870b0a4231f4.verified.txt @@ -360,14 +360,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt index 23a410b1b6..798a53c6c0 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_fde913c4e020f9dc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt index a14e1c28e1..77ed514d80 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.GenerationOfEscapedTypes_ff0bcd75ea8e4fa5.verified.txt @@ -539,14 +539,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt index f55751c2f1..2b261a5f35 100644 --- a/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt +++ b/tests/SnapshotTests/Escaping/snapshots/snap-v9.0/GenerationOfEscapedTypesTests.MixtureOfKeywords.verified.txt @@ -887,14 +887,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1574,14 +1574,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2261,14 +2261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt index fd3debcd5f..8203b25741 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/3MiocXsMvZ.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/3MiocXsMvZ.verified.txt index e3147f14aa..bf0edbcb40 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/3MiocXsMvZ.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/3MiocXsMvZ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/7GTKmGhAq6.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/7GTKmGhAq6.verified.txt index 07736958ca..ac75687cdf 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/7GTKmGhAq6.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/7GTKmGhAq6.verified.txt @@ -621,14 +621,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/CCsypEKKMq.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/CCsypEKKMq.verified.txt index 4a3ccc978b..69ef0a5eef 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/CCsypEKKMq.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/CCsypEKKMq.verified.txt @@ -632,14 +632,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Can_use_derived_ValueObjectAttribute.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Can_use_derived_ValueObjectAttribute.verified.txt index 23d3cc686a..8af4af69e4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Can_use_derived_ValueObjectAttribute.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Can_use_derived_ValueObjectAttribute.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Disable_stack_trace_in_debug.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Disable_stack_trace_in_debug.verified.txt index 86f6678562..9009177af7 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Disable_stack_trace_in_debug.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Disable_stack_trace_in_debug.verified.txt @@ -540,14 +540,14 @@ public partial class MyVo : global::System.IEquatable, global::System.IEqu public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt index 34a21bbb28..3a2d64199e 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt index 4c1c652836..b6e0ddc0d2 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_5.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_5.verified.txt index 3535dffe75..3b6a422d47 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_5.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_5.verified.txt @@ -508,14 +508,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_SystemTextJson_factory.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_SystemTextJson_factory.verified.txt index f9fcf0dc81..a973664068 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_SystemTextJson_factory.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_SystemTextJson_factory.verified.txt @@ -534,14 +534,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1204,14 +1204,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack.verified.txt index 513f7556c7..57b4a6e586 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack.verified.txt @@ -554,14 +554,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_and_efcore_markers.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_and_efcore_markers.verified.txt index 7f93eb95e3..1e3983149d 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_and_efcore_markers.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_and_efcore_markers.verified.txt @@ -680,14 +680,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_markers.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_markers.verified.txt index cd6acd9e61..8de8fdea1f 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_markers.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Generates_messagepack_markers.verified.txt @@ -561,14 +561,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_ISpanFormattable.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_ISpanFormattable.verified.txt index 2ed2978fa5..3098234239 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_ISpanFormattable.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_ISpanFormattable.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_parameter_attributes_from_underlying_tostring_methods.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_parameter_attributes_from_underlying_tostring_methods.verified.txt index 2ed2978fa5..3098234239 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_parameter_attributes_from_underlying_tostring_methods.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Hoists_parameter_attributes_from_underlying_tostring_methods.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt index ae8bb8b4cb..3c9efbbd1a 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt index 0ab3913479..28b608a9cb 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt @@ -626,14 +626,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_is_initialized_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_is_initialized_method.verified.txt index 688d914caa..904a498f0a 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_is_initialized_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_is_initialized_method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_namespace.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_namespace.verified.txt index 965c555e52..3db62a0073 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_namespace.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.No_namespace.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Nullable_Equals_override_with_object.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Nullable_Equals_override_with_object.verified.txt index 7636073fd4..35417c5377 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Nullable_Equals_override_with_object.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Nullable_Equals_override_with_object.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Partial_struct_created_successfully.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Partial_struct_created_successfully.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Partial_struct_created_successfully.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Partial_struct_created_successfully.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Produces_instances.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Produces_instances.verified.txt index 9343ec921c..0876b8ce03 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Produces_instances.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Produces_instances.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_date_time.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_date_time.verified.txt index d79878e33e..f77e541047 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_date_time.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_date_time.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_non_strings.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_non_strings.verified.txt index 4fb3885fb0..3d40c66ff6 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_non_strings.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_non_strings.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_time_related_primitives.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_time_related_primitives.verified.txt index 84522c2dab..dbd82faf8c 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_time_related_primitives.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.ServiceStackDotTextConversion_generates_static_constructor_for_time_related_primitives.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Skips_ToString_methods_that_implement_an_interface.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Skips_ToString_methods_that_implement_an_interface.verified.txt index e885d40612..5aa68caf95 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Skips_ToString_methods_that_implement_an_interface.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Skips_ToString_methods_that_implement_an_interface.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt index 57dc69568a..acd8b740b2 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.With_is_initialized_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.With_is_initialized_method.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.With_is_initialized_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/GeneralTests.With_is_initialized_method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/IF0HerfmAk.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/IF0HerfmAk.verified.txt index 77bb0ae25c..158ca270c7 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/IF0HerfmAk.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/IF0HerfmAk.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt index a9c4f601ed..a2b0a9b98e 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/TTKgwqhtVO.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/TTKgwqhtVO.verified.txt index bc0b550f82..3f25ded553 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/TTKgwqhtVO.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/TTKgwqhtVO.verified.txt @@ -617,14 +617,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UNEhUoV13X.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UNEhUoV13X.verified.txt index 4ab34700e9..61843c0fb9 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UNEhUoV13X.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UNEhUoV13X.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UspYksUlcS.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UspYksUlcS.verified.txt index 479a0c83b0..42769cc28d 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UspYksUlcS.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/UspYksUlcS.verified.txt @@ -637,14 +637,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt index 01f69d4a67..fef69a3a22 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/r69L6MTLWN.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/r69L6MTLWN.verified.txt index dcdbc029f1..b587263835 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/r69L6MTLWN.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/r69L6MTLWN.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/rVLQH7WZJe.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/rVLQH7WZJe.verified.txt index 976cd4f33c..46082cae36 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/rVLQH7WZJe.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v8.0/rVLQH7WZJe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/0Rjlo8wVsY.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/0Rjlo8wVsY.verified.txt index fd3debcd5f..8203b25741 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/0Rjlo8wVsY.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/0Rjlo8wVsY.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt index 34a21bbb28..3a2d64199e 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_1.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt index 4c1c652836..b6e0ddc0d2 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_2.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_3.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_and_skip_user_provided_method_4.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt index 0ab3913479..28b608a9cb 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt @@ -626,14 +626,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_is_initialized_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_is_initialized_method.verified.txt index 688d914caa..904a498f0a 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_is_initialized_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_is_initialized_method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_namespace.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_namespace.verified.txt index 965c555e52..3db62a0073 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_namespace.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.No_namespace.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Partial_struct_created_successfully.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Partial_struct_created_successfully.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Partial_struct_created_successfully.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Partial_struct_created_successfully.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Produces_instances.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Produces_instances.verified.txt index 9343ec921c..0876b8ce03 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Produces_instances.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Produces_instances.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_can_have_fully_qualified_return_type.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt index 57dc69568a..acd8b740b2 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_PascalCased_validate_method.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.Validation_with_camelCased_validate_method.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.With_is_initialized_method.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.With_is_initialized_method.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.With_is_initialized_method.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/GeneralTests.With_is_initialized_method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/LZDZ0jdOF6.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/LZDZ0jdOF6.verified.txt index a9c4f601ed..a2b0a9b98e 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/LZDZ0jdOF6.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/LZDZ0jdOF6.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/jXZ79bcjc9.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/jXZ79bcjc9.verified.txt index 01f69d4a67..fef69a3a22 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/jXZ79bcjc9.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/jXZ79bcjc9.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/r69L6MTLWN.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/r69L6MTLWN.verified.txt index dcdbc029f1..b587263835 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/r69L6MTLWN.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-v9.0/r69L6MTLWN.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_both_swashbuckle_filter_and_MapType_extension_method_generation_for_openapi.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_both_swashbuckle_filter_and_MapType_extension_method_generation_for_openapi.verified.txt index d67dabbcd8..79db3eee15 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_both_swashbuckle_filter_and_MapType_extension_method_generation_for_openapi.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_both_swashbuckle_filter_and_MapType_extension_method_generation_for_openapi.verified.txt @@ -674,14 +674,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1358,14 +1358,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2042,14 +2042,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2726,14 +2726,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_MapType_extension_method_generation_for_openapi.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_MapType_extension_method_generation_for_openapi.verified.txt index 15d174aff6..5c0a02e9c3 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_MapType_extension_method_generation_for_openapi.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_MapType_extension_method_generation_for_openapi.verified.txt @@ -606,14 +606,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1290,14 +1290,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1974,14 +1974,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2658,14 +2658,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_filter_generation_for_openapi.verified.txt b/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_filter_generation_for_openapi.verified.txt index f1060b75a2..b15232c62c 100644 --- a/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_filter_generation_for_openapi.verified.txt +++ b/tests/SnapshotTests/GeneralStuff/snapshots/snap-vAspNetCore8.0/GeneralTests.Can_specify_swashbuckle_filter_generation_for_openapi.verified.txt @@ -611,14 +611,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0pnsI1bxxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0pnsI1bxxI.verified.txt index 9c66d950f9..d7391da00a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0pnsI1bxxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0pnsI1bxxI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0tPklTLL8f.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0tPklTLL8f.verified.txt index 7eaf7d8000..dcda2e4f6b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0tPklTLL8f.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/0tPklTLL8f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/11k4c6CGtU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/11k4c6CGtU.verified.txt index fad59e0dfb..660ffb947c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/11k4c6CGtU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/11k4c6CGtU.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/18luqBmqNm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/18luqBmqNm.verified.txt index 8da2bae958..7fb3502001 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/18luqBmqNm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/18luqBmqNm.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1h0XbQEjc6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1h0XbQEjc6.verified.txt index 4f53ad0d8f..3e6c94551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1h0XbQEjc6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1h0XbQEjc6.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1nooLrDZvg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1nooLrDZvg.verified.txt index 69d955f615..8dff5fd55f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1nooLrDZvg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/1nooLrDZvg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/22b5GFPsJy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/22b5GFPsJy.verified.txt index 3fc6472c9d..aa6390a304 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/22b5GFPsJy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/22b5GFPsJy.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/25cFSQsgYv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/25cFSQsgYv.verified.txt index 996765a1f8..dc359faff1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/25cFSQsgYv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/25cFSQsgYv.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2FJcSOSpS2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2FJcSOSpS2.verified.txt index 2099815fcc..8ba229cb03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2FJcSOSpS2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2FJcSOSpS2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2GQW6JDMp3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2GQW6JDMp3.verified.txt index f3e64ae5c8..7e8b999583 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2GQW6JDMp3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2GQW6JDMp3.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2h4RxJmd8y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2h4RxJmd8y.verified.txt index 9866991fe7..eb395c5477 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2h4RxJmd8y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2h4RxJmd8y.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2uTfcY6oRr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2uTfcY6oRr.verified.txt index 1101fbf8e5..e6b2640b9f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2uTfcY6oRr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/2uTfcY6oRr.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3G0vZbWoKl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3G0vZbWoKl.verified.txt index a8131d2b74..cb056efbb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3G0vZbWoKl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3G0vZbWoKl.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3HolOeXE6X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3HolOeXE6X.verified.txt index eba0867cf1..1ef2d5b098 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3HolOeXE6X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3HolOeXE6X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3mBWDp16rd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3mBWDp16rd.verified.txt index f72a047d15..2a36fa4212 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3mBWDp16rd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3mBWDp16rd.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3oAabmt2UZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3oAabmt2UZ.verified.txt index 2290ab6d6e..a679545d3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3oAabmt2UZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/3oAabmt2UZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4B4V3nXRbi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4B4V3nXRbi.verified.txt index 67b68cd1ab..ec261b1ba4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4B4V3nXRbi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4B4V3nXRbi.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4WKuwCUGdK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4WKuwCUGdK.verified.txt index 8e8065d947..28b83f3eec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4WKuwCUGdK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4WKuwCUGdK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4qxtVFqAJk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4qxtVFqAJk.verified.txt index 5aad69492b..5395ef8c2b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4qxtVFqAJk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/4qxtVFqAJk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/58rLEsr70X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/58rLEsr70X.verified.txt index dd2de89c70..3b32715ee2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/58rLEsr70X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/58rLEsr70X.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5K5b1VcrOP.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5K5b1VcrOP.verified.txt index a8ea5f7ae7..a058aa3d9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5K5b1VcrOP.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5K5b1VcrOP.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5Q17yuMKm7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5Q17yuMKm7.verified.txt index 087e13e8b7..f209384d46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5Q17yuMKm7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5Q17yuMKm7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5nLb3uhXMT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5nLb3uhXMT.verified.txt index 7049250ef2..3fc82fc596 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5nLb3uhXMT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/5nLb3uhXMT.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6HeO7LLgVh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6HeO7LLgVh.verified.txt index 029e6f19b4..058ea62a89 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6HeO7LLgVh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6HeO7LLgVh.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6IDnvwmhCN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6IDnvwmhCN.verified.txt index a6bfac2c1b..13703de525 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6IDnvwmhCN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6IDnvwmhCN.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6RqxkujVrD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6RqxkujVrD.verified.txt index 4968fc8c94..bc6180ae55 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6RqxkujVrD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6RqxkujVrD.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6lXSbuIj9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6lXSbuIj9v.verified.txt index bfa83f50a4..2dae564d20 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6lXSbuIj9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6lXSbuIj9v.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6w1vPiY8I8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6w1vPiY8I8.verified.txt index 5cf086afc2..a3b276773d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6w1vPiY8I8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6w1vPiY8I8.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6xsKtx6pBG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6xsKtx6pBG.verified.txt index c0b754b006..ceee620022 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6xsKtx6pBG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/6xsKtx6pBG.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/7HwoUhfzjA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/7HwoUhfzjA.verified.txt index cd397e3a21..2779f31659 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/7HwoUhfzjA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/7HwoUhfzjA.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8243ZMXNu5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8243ZMXNu5.verified.txt index 4b1088968f..0f48a0698d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8243ZMXNu5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8243ZMXNu5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8NQVN4RqfT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8NQVN4RqfT.verified.txt index 96d1234fdd..ae84a52557 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8NQVN4RqfT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8NQVN4RqfT.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8u0sAu1Eqm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8u0sAu1Eqm.verified.txt index cb52350996..d1182ec404 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8u0sAu1Eqm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/8u0sAu1Eqm.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/90qAmH8XZh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/90qAmH8XZh.verified.txt index e2b103fa61..d2082bc4d8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/90qAmH8XZh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/90qAmH8XZh.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9JIAVifG4N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9JIAVifG4N.verified.txt index f26e56cf8b..f59df9c6fe 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9JIAVifG4N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9JIAVifG4N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9KzNVPKfyb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9KzNVPKfyb.verified.txt index e0966fb3f1..10f23b9278 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9KzNVPKfyb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9KzNVPKfyb.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9Y12quQzSn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9Y12quQzSn.verified.txt index d917a094f5..4928606dbc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9Y12quQzSn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/9Y12quQzSn.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/A3LDARdFrZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/A3LDARdFrZ.verified.txt index e1586e3b08..48b23938ba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/A3LDARdFrZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/A3LDARdFrZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AGUOBcbY4A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AGUOBcbY4A.verified.txt index 56ddc605b2..0ac8c83b5a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AGUOBcbY4A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AGUOBcbY4A.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AZTEicLUf8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AZTEicLUf8.verified.txt index 89b2afda92..05ac7e9e14 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AZTEicLUf8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/AZTEicLUf8.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/B6oAHeCpjv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/B6oAHeCpjv.verified.txt index 837338ee25..e0ad3ceece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/B6oAHeCpjv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/B6oAHeCpjv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BCDkkorwLD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BCDkkorwLD.verified.txt index 2fd700a724..41ad90bdd8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BCDkkorwLD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BCDkkorwLD.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BU0UUvzzuK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BU0UUvzzuK.verified.txt index ce84811336..25e1003e53 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BU0UUvzzuK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BU0UUvzzuK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BoUPxEqWpx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BoUPxEqWpx.verified.txt index e26630974c..30fe875995 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BoUPxEqWpx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/BoUPxEqWpx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Bw4RQ5cmww.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Bw4RQ5cmww.verified.txt index 64ddc1344c..402308a867 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Bw4RQ5cmww.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Bw4RQ5cmww.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CBLHvotK4Y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CBLHvotK4Y.verified.txt index 2bfaa0ebd0..4ba551b619 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CBLHvotK4Y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CBLHvotK4Y.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CIpk6HUes4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CIpk6HUes4.verified.txt index 7ae416850c..33451d3246 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CIpk6HUes4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CIpk6HUes4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CM6dqqGbT5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CM6dqqGbT5.verified.txt index 14b80f8845..3b0441774d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CM6dqqGbT5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CM6dqqGbT5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CQMHho7gsu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CQMHho7gsu.verified.txt index 2351421db2..e9487987be 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CQMHho7gsu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CQMHho7gsu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CRwevTxrKM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CRwevTxrKM.verified.txt index defdaec103..552a0d1460 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CRwevTxrKM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CRwevTxrKM.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ChSNzH0nQf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ChSNzH0nQf.verified.txt index 2c4da765ae..84ec9dd715 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ChSNzH0nQf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ChSNzH0nQf.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CljAURVTMy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CljAURVTMy.verified.txt index dc029afd0a..531301875b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CljAURVTMy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CljAURVTMy.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CrCmZ1rFQQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CrCmZ1rFQQ.verified.txt index 73fce92615..779c01a941 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CrCmZ1rFQQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/CrCmZ1rFQQ.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/D32fvJ2fXc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/D32fvJ2fXc.verified.txt index 9c7e86e326..53da4bafde 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/D32fvJ2fXc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/D32fvJ2fXc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DmVi2A1jh2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DmVi2A1jh2.verified.txt index 329c1d56c0..b8d48f693d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DmVi2A1jh2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DmVi2A1jh2.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DwiaPjLFwd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DwiaPjLFwd.verified.txt index 33d93b56e1..5302d40c0e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DwiaPjLFwd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/DwiaPjLFwd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EJHYFCuWsI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EJHYFCuWsI.verified.txt index dfee9d511d..bbca2c7e28 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EJHYFCuWsI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EJHYFCuWsI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EjHVFORRmC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EjHVFORRmC.verified.txt index dfe01bdb01..985a596b66 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EjHVFORRmC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/EjHVFORRmC.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/F2ETlJ3TUM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/F2ETlJ3TUM.verified.txt index 3d2c14f284..b09ae69191 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/F2ETlJ3TUM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/F2ETlJ3TUM.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/FaNpjhWJnp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/FaNpjhWJnp.verified.txt index b90ed63635..417392a6cb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/FaNpjhWJnp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/FaNpjhWJnp.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/G1iz87Qh9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/G1iz87Qh9v.verified.txt index 914b9459cd..de6635e0d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/G1iz87Qh9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/G1iz87Qh9v.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GAiFkQgtr9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GAiFkQgtr9.verified.txt index bacf4287f5..eac53ede7e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GAiFkQgtr9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GAiFkQgtr9.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GFR12F2PgU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GFR12F2PgU.verified.txt index ab6159329d..acbd7c517a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GFR12F2PgU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GFR12F2PgU.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GGYsXO7NgY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GGYsXO7NgY.verified.txt index 6bdb018acd..20f261dc41 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GGYsXO7NgY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GGYsXO7NgY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GNISh38TPA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GNISh38TPA.verified.txt index b072a622db..54916dc2f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GNISh38TPA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GNISh38TPA.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GbsChMfTbx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GbsChMfTbx.verified.txt index 2655f3a8e5..ed533fd7d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GbsChMfTbx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GbsChMfTbx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gh9VzxAfwQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gh9VzxAfwQ.verified.txt index f0906512cb..211ad74e09 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gh9VzxAfwQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gh9VzxAfwQ.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gneqedonte.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gneqedonte.verified.txt index f0d29d8028..117a2a3c56 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gneqedonte.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gneqedonte.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GqkxwENyM0.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GqkxwENyM0.verified.txt index 23f427b2c7..67c0cbcc31 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GqkxwENyM0.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/GqkxwENyM0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gr0OHLjXmU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gr0OHLjXmU.verified.txt index 0bcc3cd3b9..0c93a60a6f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gr0OHLjXmU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Gr0OHLjXmU.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HgenO1WVxu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HgenO1WVxu.verified.txt index de921e5bfb..bced803960 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HgenO1WVxu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HgenO1WVxu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HyJgcfbHDZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HyJgcfbHDZ.verified.txt index 5e075eef2a..fce8c12549 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HyJgcfbHDZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/HyJgcfbHDZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/I9QdnSKGsb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/I9QdnSKGsb.verified.txt index ef9d1a3ea2..b443aefc46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/I9QdnSKGsb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/I9QdnSKGsb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ILL19WnisW.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ILL19WnisW.verified.txt index a612e47c92..48c9185c95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ILL19WnisW.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ILL19WnisW.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IcUtLq2cFK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IcUtLq2cFK.verified.txt index 63b03503f4..7fc2054e57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IcUtLq2cFK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IcUtLq2cFK.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IgU7pSd2b3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IgU7pSd2b3.verified.txt index 3afa0452f5..fce6f19cc0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IgU7pSd2b3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/IgU7pSd2b3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/JKGj0F7zh9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/JKGj0F7zh9.verified.txt index 77f8036c1a..81bbb612fc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/JKGj0F7zh9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/JKGj0F7zh9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Jq9C6Uxpys.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Jq9C6Uxpys.verified.txt index 7dbd531a60..5ba6e1f638 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Jq9C6Uxpys.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Jq9C6Uxpys.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KIyW41F6r6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KIyW41F6r6.verified.txt index 9ddb5f8bd5..9f24483f0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KIyW41F6r6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KIyW41F6r6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KSbl2FesJc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KSbl2FesJc.verified.txt index c25d62ff82..4256c048ce 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KSbl2FesJc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KSbl2FesJc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KcixvfqGrv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KcixvfqGrv.verified.txt index 235f7b4273..5977c9d095 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KcixvfqGrv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KcixvfqGrv.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KxI2Xy8cPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KxI2Xy8cPS.verified.txt index 363c24f562..0989e031c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KxI2Xy8cPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/KxI2Xy8cPS.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LGZJJpm1uq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LGZJJpm1uq.verified.txt index 1832dba765..635ae8a111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LGZJJpm1uq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LGZJJpm1uq.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LJUqwkNpMv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LJUqwkNpMv.verified.txt index d39c16593e..ca20cfc08d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LJUqwkNpMv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/LJUqwkNpMv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/M4NqZwdXw7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/M4NqZwdXw7.verified.txt index 7231e045b6..0daa00da8b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/M4NqZwdXw7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/M4NqZwdXw7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/MY3XtRzu8x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/MY3XtRzu8x.verified.txt index 14ed885e1f..57f8fe1b92 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/MY3XtRzu8x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/MY3XtRzu8x.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NA3ZnOKVDG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NA3ZnOKVDG.verified.txt index d5e3627632..22bb241e40 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NA3ZnOKVDG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NA3ZnOKVDG.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NG5PKVM1i8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NG5PKVM1i8.verified.txt index eab463950e..06cadd2183 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NG5PKVM1i8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NG5PKVM1i8.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NGOTNmWxHE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NGOTNmWxHE.verified.txt index a106e68b0e..a714d77f03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NGOTNmWxHE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NGOTNmWxHE.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NWdbHdqTCk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NWdbHdqTCk.verified.txt index b90c64f95e..c30f8a68e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NWdbHdqTCk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/NWdbHdqTCk.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OGgQrxiJWS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OGgQrxiJWS.verified.txt index abfc88017c..29f4e9c5dd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OGgQrxiJWS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OGgQrxiJWS.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OpqpTR5Cfw.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OpqpTR5Cfw.verified.txt index d485b0594b..c5e3c9523a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OpqpTR5Cfw.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OpqpTR5Cfw.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Orfrz26F6p.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Orfrz26F6p.verified.txt index 8cb368634c..e28420042e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Orfrz26F6p.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Orfrz26F6p.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OvvLaH9ciz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OvvLaH9ciz.verified.txt index 9a99e14610..5d83e25491 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OvvLaH9ciz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/OvvLaH9ciz.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PXabnXFmkt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PXabnXFmkt.verified.txt index 5045dec16e..6f69fdd7fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PXabnXFmkt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PXabnXFmkt.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PvSh3xfKNr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PvSh3xfKNr.verified.txt index 9fbe1bc114..37f4339a4c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PvSh3xfKNr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/PvSh3xfKNr.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Pw9SxJyXzg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Pw9SxJyXzg.verified.txt index 86d989c1b1..0fadff4ef2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Pw9SxJyXzg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Pw9SxJyXzg.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q0Mq3bhsum.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q0Mq3bhsum.verified.txt index 6d2d381800..2e23d4aea3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q0Mq3bhsum.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q0Mq3bhsum.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q8OFEgFlen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q8OFEgFlen.verified.txt index eba6a814d7..0d0652dbdf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q8OFEgFlen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Q8OFEgFlen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QEUSa16DTz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QEUSa16DTz.verified.txt index ef651629fa..bdfd1a1231 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QEUSa16DTz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QEUSa16DTz.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QKQfFAiHK3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QKQfFAiHK3.verified.txt index b36adc0d8a..41b534b553 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QKQfFAiHK3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QKQfFAiHK3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QS5g7tNsec.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QS5g7tNsec.verified.txt index 9d2482bb58..fe410f46b6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QS5g7tNsec.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QS5g7tNsec.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QXgcj72buY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QXgcj72buY.verified.txt index 92d87f2b66..a8f2e88879 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QXgcj72buY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QXgcj72buY.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYiOTtsnlp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYiOTtsnlp.verified.txt index 678f5ab9ea..c7f7adf4e0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYiOTtsnlp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYiOTtsnlp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYpxxqI6dm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYpxxqI6dm.verified.txt index 57eab85a17..fa60644f69 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYpxxqI6dm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QYpxxqI6dm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QltroljHXp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QltroljHXp.verified.txt index 3475d2b4f2..4394a1d54c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QltroljHXp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/QltroljHXp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/R1tSxHqFWR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/R1tSxHqFWR.verified.txt index 842a9ef4df..d592164f32 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/R1tSxHqFWR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/R1tSxHqFWR.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RFydcSrrCY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RFydcSrrCY.verified.txt index 78850134d0..ba72efd876 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RFydcSrrCY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RFydcSrrCY.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RSvHJzWcVx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RSvHJzWcVx.verified.txt index 688706d09d..0cd710019c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RSvHJzWcVx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RSvHJzWcVx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RTVo1L1S2u.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RTVo1L1S2u.verified.txt index 2b823ae560..081f34e86e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RTVo1L1S2u.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/RTVo1L1S2u.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Rj61S1p4Cs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Rj61S1p4Cs.verified.txt index eb4a5ca291..6cdacab5ef 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Rj61S1p4Cs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Rj61S1p4Cs.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/S6kTKimLen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/S6kTKimLen.verified.txt index 6eb3f30669..2ad153ed5d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/S6kTKimLen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/S6kTKimLen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SEofJbUjIt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SEofJbUjIt.verified.txt index 27503eeb3f..8c3f41d9fa 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SEofJbUjIt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SEofJbUjIt.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SGXzWPLMoG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SGXzWPLMoG.verified.txt index 32cd6c3ed6..e0d974f495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SGXzWPLMoG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SGXzWPLMoG.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SKiA26rgZo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SKiA26rgZo.verified.txt index a8e35e1984..0704128e63 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SKiA26rgZo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SKiA26rgZo.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SaRnK4FOpb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SaRnK4FOpb.verified.txt index 583d4ae364..cc9c67e39a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SaRnK4FOpb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SaRnK4FOpb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SjBV0t0Bz5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SjBV0t0Bz5.verified.txt index 9f66c9e680..8d49104814 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SjBV0t0Bz5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SjBV0t0Bz5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SoTNs8IENd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SoTNs8IENd.verified.txt index 99b7fe9736..4d78220679 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SoTNs8IENd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/SoTNs8IENd.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/St5iPsOfp9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/St5iPsOfp9.verified.txt index 387fb3fcec..8c470135c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/St5iPsOfp9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/St5iPsOfp9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/T97m7kTtiO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/T97m7kTtiO.verified.txt index e3241690c9..d3cc60dece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/T97m7kTtiO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/T97m7kTtiO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TLejc0vivf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TLejc0vivf.verified.txt index 1316953f99..6e858869ec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TLejc0vivf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TLejc0vivf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Thad6nEDD5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Thad6nEDD5.verified.txt index f68d98ca45..6fd800d60c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Thad6nEDD5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Thad6nEDD5.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TxGznMqzl8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TxGznMqzl8.verified.txt index 2b1be8caaf..67e5c5fcdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TxGznMqzl8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/TxGznMqzl8.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UK13zlv5RG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UK13zlv5RG.verified.txt index 0aaf6ad04d..0081e98e95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UK13zlv5RG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UK13zlv5RG.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UMDF9cNbZt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UMDF9cNbZt.verified.txt index 5ab1a1c57c..7218eb41e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UMDF9cNbZt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UMDF9cNbZt.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UY4TVAzonK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UY4TVAzonK.verified.txt index 0110349e39..966fdb2bb3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UY4TVAzonK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/UY4TVAzonK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Uhx1npmK9K.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Uhx1npmK9K.verified.txt index 9c6e40f827..bfb4e4c45d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Uhx1npmK9K.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Uhx1npmK9K.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/V4MmKA6xMl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/V4MmKA6xMl.verified.txt index e7354430e3..ce30c89fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/V4MmKA6xMl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/V4MmKA6xMl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VaeumdU1ie.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VaeumdU1ie.verified.txt index 7f6ee8dc67..dcc3515813 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VaeumdU1ie.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VaeumdU1ie.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VvAJ9zwTgL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VvAJ9zwTgL.verified.txt index 3ea48d00ae..e5b924b83a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VvAJ9zwTgL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/VvAJ9zwTgL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/W9Iz8LDSU6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/W9Iz8LDSU6.verified.txt index 7f013258d7..e7f7948111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/W9Iz8LDSU6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/W9Iz8LDSU6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WEmd7N8AWm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WEmd7N8AWm.verified.txt index 2b2c0816ba..3711ee30d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WEmd7N8AWm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WEmd7N8AWm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WHpY18dDBC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WHpY18dDBC.verified.txt index 220e6aa8f7..a66a4c33fd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WHpY18dDBC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WHpY18dDBC.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WMVLzBfTuM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WMVLzBfTuM.verified.txt index c1a3c38115..a88ce952fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WMVLzBfTuM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WMVLzBfTuM.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WRw2ROnY9A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WRw2ROnY9A.verified.txt index 95fdb8ed7b..dfa41598cc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WRw2ROnY9A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WRw2ROnY9A.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WhPLsKKG2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WhPLsKKG2Q.verified.txt index f235f4a436..80d0669fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WhPLsKKG2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WhPLsKKG2Q.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WzWV0pZmd4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WzWV0pZmd4.verified.txt index dc4bf252cb..8f62c197bf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WzWV0pZmd4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/WzWV0pZmd4.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XdmgypPx1z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XdmgypPx1z.verified.txt index 7f2c192613..f49a3b2e1d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XdmgypPx1z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XdmgypPx1z.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XrmNw9ZJJ4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XrmNw9ZJJ4.verified.txt index 5758f36ef1..7bc4f89dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XrmNw9ZJJ4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/XrmNw9ZJJ4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Y2FIAvdeJd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Y2FIAvdeJd.verified.txt index 64c8ccd04c..7b9d3e2242 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Y2FIAvdeJd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/Y2FIAvdeJd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YLETiC8egS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YLETiC8egS.verified.txt index f1d6698ea8..b462086d75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YLETiC8egS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YLETiC8egS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YQ4C8lGTTp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YQ4C8lGTTp.verified.txt index ccdcd4cddc..a5e5f5125f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YQ4C8lGTTp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YQ4C8lGTTp.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YmajZMirSq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YmajZMirSq.verified.txt index f1fdbbe892..55b13f35ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YmajZMirSq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YmajZMirSq.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YsTXLEcU9e.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YsTXLEcU9e.verified.txt index 660358764a..178340d530 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YsTXLEcU9e.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/YsTXLEcU9e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ZeQaA7MiO7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ZeQaA7MiO7.verified.txt index 47f53ff5bf..bf15eb6b57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ZeQaA7MiO7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ZeQaA7MiO7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a5oBj4NMck.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a5oBj4NMck.verified.txt index a697208740..7da5fa398f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a5oBj4NMck.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a5oBj4NMck.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a9ZatkB5Rh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a9ZatkB5Rh.verified.txt index 8834023188..dbf3b3cc9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a9ZatkB5Rh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/a9ZatkB5Rh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/adj4aYHt0N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/adj4aYHt0N.verified.txt index 693b2fc73f..1dfdd7a723 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/adj4aYHt0N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/adj4aYHt0N.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/azYqyDbI89.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/azYqyDbI89.verified.txt index 0cd8289407..3c426fff50 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/azYqyDbI89.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/azYqyDbI89.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bXddhCA2bk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bXddhCA2bk.verified.txt index d65919c2c3..8ad7ecf03c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bXddhCA2bk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bXddhCA2bk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bbZ1hzo62z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bbZ1hzo62z.verified.txt index 1d374fc031..252e60bc96 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bbZ1hzo62z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bbZ1hzo62z.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bkRaWa4KBI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bkRaWa4KBI.verified.txt index 30ae72bec4..ddd83f655d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bkRaWa4KBI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/bkRaWa4KBI.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ce82vTL7WE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ce82vTL7WE.verified.txt index 88ff0be27b..ce264e0bf3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ce82vTL7WE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ce82vTL7WE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/cgyb3Z1MNu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/cgyb3Z1MNu.verified.txt index 156c16f658..23240499b8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/cgyb3Z1MNu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/cgyb3Z1MNu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dAgWjdgDUL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dAgWjdgDUL.verified.txt index bf085aafd7..ed9afda125 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dAgWjdgDUL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dAgWjdgDUL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dTLky56KCx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dTLky56KCx.verified.txt index f1a599b50a..67c5aba4b3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dTLky56KCx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dTLky56KCx.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dctvtQKUed.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dctvtQKUed.verified.txt index bb6aaf9136..aac0950fe8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dctvtQKUed.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/dctvtQKUed.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/eGknqt2HLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/eGknqt2HLN.verified.txt index fbaab54323..549e52bb93 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/eGknqt2HLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/eGknqt2HLN.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/evEmsereRx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/evEmsereRx.verified.txt index f969c33e63..b2f312bf9c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/evEmsereRx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/evEmsereRx.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f33sdUZvTD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f33sdUZvTD.verified.txt index b71da26573..1fb452d025 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f33sdUZvTD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f33sdUZvTD.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f8GfgtBpEy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f8GfgtBpEy.verified.txt index ae2ce35ce0..99c0c9aeba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f8GfgtBpEy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/f8GfgtBpEy.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fBsIsd9NEC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fBsIsd9NEC.verified.txt index 9eab07a003..e9fe23e17d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fBsIsd9NEC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fBsIsd9NEC.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fe1G3hjBI7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fe1G3hjBI7.verified.txt index 901c59cd66..8f3dc03f62 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fe1G3hjBI7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fe1G3hjBI7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fiHEMJtEsE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fiHEMJtEsE.verified.txt index 4cea925d39..eff3ffeda4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fiHEMJtEsE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/fiHEMJtEsE.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ftvGXa4dWE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ftvGXa4dWE.verified.txt index 014a926d60..4b81a49539 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ftvGXa4dWE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ftvGXa4dWE.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ga0wMsAonO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ga0wMsAonO.verified.txt index bab0164bcb..1aa418551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ga0wMsAonO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ga0wMsAonO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/gkp9EIvkaa.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/gkp9EIvkaa.verified.txt index 293655b4ee..7d2c01a348 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/gkp9EIvkaa.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/gkp9EIvkaa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hFwcREtVxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hFwcREtVxI.verified.txt index 9659f1d4f5..408875873a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hFwcREtVxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hFwcREtVxI.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hjyaHa29Jz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hjyaHa29Jz.verified.txt index 5cfb670234..4055062f19 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hjyaHa29Jz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/hjyaHa29Jz.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/i1n2cAvbLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/i1n2cAvbLN.verified.txt index 628dcc4abd..00f262748e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/i1n2cAvbLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/i1n2cAvbLN.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iHYaBR6vwE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iHYaBR6vwE.verified.txt index 0d6ebf1f55..a0ab806fa1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iHYaBR6vwE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iHYaBR6vwE.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iS1nna8CAC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iS1nna8CAC.verified.txt index 749746865f..c57a4accdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iS1nna8CAC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/iS1nna8CAC.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ilzLRsLJfo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ilzLRsLJfo.verified.txt index 93cf369636..9792f9bc01 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ilzLRsLJfo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ilzLRsLJfo.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/jLSQYXoUZ7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/jLSQYXoUZ7.verified.txt index 4143cedbe9..a204a9ee0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/jLSQYXoUZ7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/jLSQYXoUZ7.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ja7E8gtQYK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ja7E8gtQYK.verified.txt index 8b38121a59..bc48e9cf75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ja7E8gtQYK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ja7E8gtQYK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ji3RViDCgB.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ji3RViDCgB.verified.txt index 266e7cf693..f170883b3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ji3RViDCgB.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ji3RViDCgB.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/k1zq0pGwsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/k1zq0pGwsL.verified.txt index 75ed9f04e0..e552118032 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/k1zq0pGwsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/k1zq0pGwsL.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/kPeQkL6w72.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/kPeQkL6w72.verified.txt index 861c0c8c6b..d6637afeb1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/kPeQkL6w72.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/kPeQkL6w72.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l1jw2uJGZg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l1jw2uJGZg.verified.txt index a02810f3bc..fcbba1936c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l1jw2uJGZg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l1jw2uJGZg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l4e6XelAgq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l4e6XelAgq.verified.txt index 58ccc9d20e..b483c87834 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l4e6XelAgq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/l4e6XelAgq.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lDSTWX4oqG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lDSTWX4oqG.verified.txt index 77ba1da6ae..f8eff78f4f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lDSTWX4oqG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lDSTWX4oqG.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lE9ybfWQrn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lE9ybfWQrn.verified.txt index d886645238..6f06324d51 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lE9ybfWQrn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lE9ybfWQrn.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lLir8SMe7M.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lLir8SMe7M.verified.txt index ec2d808249..4eda9c5523 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lLir8SMe7M.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lLir8SMe7M.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lQc2P8tXnM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lQc2P8tXnM.verified.txt index 62f57980cd..f2693c0571 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lQc2P8tXnM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lQc2P8tXnM.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lxjsvrr5pZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lxjsvrr5pZ.verified.txt index 1d130c57da..550e5f255e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lxjsvrr5pZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/lxjsvrr5pZ.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mD8MIMFKXL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mD8MIMFKXL.verified.txt index 4a409d4768..1611b1837d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mD8MIMFKXL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mD8MIMFKXL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mEk9VnsQLA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mEk9VnsQLA.verified.txt index 55ea4316fb..c54868169d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mEk9VnsQLA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mEk9VnsQLA.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mOEBZdBIAJ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mOEBZdBIAJ.verified.txt index ecd3080420..d6404a5dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mOEBZdBIAJ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/mOEBZdBIAJ.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/n3FTCPtxrx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/n3FTCPtxrx.verified.txt index e91e69d996..c35ec2fb72 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/n3FTCPtxrx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/n3FTCPtxrx.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/nweFjpXFsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/nweFjpXFsL.verified.txt index 1f020b1a88..9bc0fe40bb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/nweFjpXFsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/nweFjpXFsL.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/o2otLTg8Vl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/o2otLTg8Vl.verified.txt index 92717e1176..a0db89306a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/o2otLTg8Vl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/o2otLTg8Vl.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/oQTi0amgPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/oQTi0amgPS.verified.txt index b6eacd384a..b2ae18e888 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/oQTi0amgPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/oQTi0amgPS.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ob9wFUFWgV.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ob9wFUFWgV.verified.txt index 42b197eac6..e131ccdfa7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ob9wFUFWgV.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ob9wFUFWgV.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ogC3zFKxHT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ogC3zFKxHT.verified.txt index eee1d6ea07..eae27f2af8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ogC3zFKxHT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ogC3zFKxHT.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/olJhMnzuPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/olJhMnzuPz.verified.txt index 943451a058..1be9ad322b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/olJhMnzuPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/olJhMnzuPz.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ono9JkTnAN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ono9JkTnAN.verified.txt index 5207f678c1..32053bdfc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ono9JkTnAN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/ono9JkTnAN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pZUfYns8zh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pZUfYns8zh.verified.txt index cc262b473d..8629b46f48 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pZUfYns8zh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pZUfYns8zh.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pjuiUy9p39.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pjuiUy9p39.verified.txt index c57af0cf9f..2860fb1fb7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pjuiUy9p39.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/pjuiUy9p39.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/puxvvYTSLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/puxvvYTSLO.verified.txt index 1bc0b1283e..99d9f567f6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/puxvvYTSLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/puxvvYTSLO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFU7Z1nijR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFU7Z1nijR.verified.txt index 500f65bd28..8c27e4a186 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFU7Z1nijR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFU7Z1nijR.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFoSkj7T13.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFoSkj7T13.verified.txt index 0186cdc28f..519db7eb3b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFoSkj7T13.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qFoSkj7T13.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qJTnnQqF2F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qJTnnQqF2F.verified.txt index cb828ce564..d6d7835250 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qJTnnQqF2F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qJTnnQqF2F.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qKD0Cb8gIA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qKD0Cb8gIA.verified.txt index ba10f0897b..afc7b37bee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qKD0Cb8gIA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qKD0Cb8gIA.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qLOlAXYfVi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qLOlAXYfVi.verified.txt index bac97c3289..44ceb32495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qLOlAXYfVi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qLOlAXYfVi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qRU3nCwt2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qRU3nCwt2Q.verified.txt index 2776a26004..e5ca0244cd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qRU3nCwt2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/qRU3nCwt2Q.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rWqAPGZL5x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rWqAPGZL5x.verified.txt index bbe48d64dc..d264790b3d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rWqAPGZL5x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rWqAPGZL5x.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/reeO7MFnmp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/reeO7MFnmp.verified.txt index 261c182ba5..82d3be0353 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/reeO7MFnmp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/reeO7MFnmp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rjKVwCkFkr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rjKVwCkFkr.verified.txt index 1a241484d6..277f5b271c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rjKVwCkFkr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rjKVwCkFkr.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rkBgJGfViS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rkBgJGfViS.verified.txt index b57383aee3..0facb64982 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rkBgJGfViS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/rkBgJGfViS.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sDmT7Ipq8w.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sDmT7Ipq8w.verified.txt index 70bae0a291..43246752f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sDmT7Ipq8w.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sDmT7Ipq8w.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sNBhPvC0ZD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sNBhPvC0ZD.verified.txt index 71d39498d7..3a3ee5b18d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sNBhPvC0ZD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sNBhPvC0ZD.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/saA0rCxOId.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/saA0rCxOId.verified.txt index 0fbe48bd3d..05f07b7f18 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/saA0rCxOId.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/saA0rCxOId.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sqUxc6SwA4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sqUxc6SwA4.verified.txt index dbb291aabd..b951642594 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sqUxc6SwA4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/sqUxc6SwA4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tZxLYsMc7s.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tZxLYsMc7s.verified.txt index cc07c73ea7..c806997f25 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tZxLYsMc7s.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tZxLYsMc7s.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/taNk0UiCPi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/taNk0UiCPi.verified.txt index d8275a7113..a90d420cdb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/taNk0UiCPi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/taNk0UiCPi.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tep4bS6Kf1.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tep4bS6Kf1.verified.txt index c2766fa09b..55786bc135 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tep4bS6Kf1.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tep4bS6Kf1.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/thnPc0KPMs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/thnPc0KPMs.verified.txt index fd678fdc5b..497d0369f2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/thnPc0KPMs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/thnPc0KPMs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tiGNpHQWuQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tiGNpHQWuQ.verified.txt index b0e60072f6..c7af138342 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tiGNpHQWuQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/tiGNpHQWuQ.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKnQqNmYCb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKnQqNmYCb.verified.txt index d13e732ca4..8274adb2ee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKnQqNmYCb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKnQqNmYCb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKxa9dnwxN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKxa9dnwxN.verified.txt index c6e93f1c87..8b505e2164 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKxa9dnwxN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/uKxa9dnwxN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/v1Rhgo3OFM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/v1Rhgo3OFM.verified.txt index 1c80785fe1..992a2e8e6d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/v1Rhgo3OFM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/v1Rhgo3OFM.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vFikwMxO6k.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vFikwMxO6k.verified.txt index 70a7bbab64..e9f7eba2ac 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vFikwMxO6k.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vFikwMxO6k.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vjSFj06YzO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vjSFj06YzO.verified.txt index e80e0c136f..72590244ad 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vjSFj06YzO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vjSFj06YzO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vzFNnv2Src.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vzFNnv2Src.verified.txt index aae3077bbf..88e0824af7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vzFNnv2Src.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/vzFNnv2Src.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/w7Te0wz04x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/w7Te0wz04x.verified.txt index 09808cd85c..b93c91ba54 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/w7Te0wz04x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/w7Te0wz04x.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/whzkVog54E.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/whzkVog54E.verified.txt index 888001706c..1ed2ade071 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/whzkVog54E.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/whzkVog54E.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/wsGKCM8fa3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/wsGKCM8fa3.verified.txt index 22053567bc..fc0f7dea70 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/wsGKCM8fa3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/wsGKCM8fa3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xAdDoA2n0F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xAdDoA2n0F.verified.txt index a7aa592f0e..9abdbc3ff9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xAdDoA2n0F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xAdDoA2n0F.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xK8UDd7XMx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xK8UDd7XMx.verified.txt index 51c914b2a4..90b6bbd5d1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xK8UDd7XMx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xK8UDd7XMx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xNrbVapWwv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xNrbVapWwv.verified.txt index f4b9802178..b01f0be1c1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xNrbVapWwv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xNrbVapWwv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xdivY90KyF.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xdivY90KyF.verified.txt index f41915f462..a5d1ca3fc7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xdivY90KyF.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xdivY90KyF.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xrqw8zdbit.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xrqw8zdbit.verified.txt index b959533fd5..685d0e1901 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xrqw8zdbit.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xrqw8zdbit.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xtJmjxTvLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xtJmjxTvLO.verified.txt index 5bb72b4f22..00cb61aa43 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xtJmjxTvLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/xtJmjxTvLO.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z5GMR6FT65.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z5GMR6FT65.verified.txt index 074240740f..17c7afad15 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z5GMR6FT65.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z5GMR6FT65.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z9IRzE0Kf5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z9IRzE0Kf5.verified.txt index 8fb7f54df1..bb7941dd79 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z9IRzE0Kf5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/z9IRzE0Kf5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zIETLgBv7L.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zIETLgBv7L.verified.txt index dcbeb183ac..1bd04f47ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zIETLgBv7L.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zIETLgBv7L.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zLA7TqTKPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zLA7TqTKPz.verified.txt index 4ee753e7d6..f7a9f598c7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zLA7TqTKPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zLA7TqTKPz.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zdGbJHTnbv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zdGbJHTnbv.verified.txt index bd831721a2..331584a1e6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zdGbJHTnbv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zdGbJHTnbv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zh3XlzyPIq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zh3XlzyPIq.verified.txt index e11ef5cf59..9a0a2d05c8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zh3XlzyPIq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zh3XlzyPIq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zxcjLWzZLy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zxcjLWzZLy.verified.txt index 2fb4ef0a6e..85c775fcb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zxcjLWzZLy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-fr/zxcjLWzZLy.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0pnsI1bxxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0pnsI1bxxI.verified.txt index 9c66d950f9..d7391da00a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0pnsI1bxxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0pnsI1bxxI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0tPklTLL8f.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0tPklTLL8f.verified.txt index 7eaf7d8000..dcda2e4f6b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0tPklTLL8f.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/0tPklTLL8f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/11k4c6CGtU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/11k4c6CGtU.verified.txt index fad59e0dfb..660ffb947c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/11k4c6CGtU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/11k4c6CGtU.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/18luqBmqNm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/18luqBmqNm.verified.txt index 8da2bae958..7fb3502001 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/18luqBmqNm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/18luqBmqNm.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1h0XbQEjc6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1h0XbQEjc6.verified.txt index 4f53ad0d8f..3e6c94551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1h0XbQEjc6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1h0XbQEjc6.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1nooLrDZvg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1nooLrDZvg.verified.txt index 69d955f615..8dff5fd55f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1nooLrDZvg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/1nooLrDZvg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/22b5GFPsJy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/22b5GFPsJy.verified.txt index 3fc6472c9d..aa6390a304 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/22b5GFPsJy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/22b5GFPsJy.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/25cFSQsgYv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/25cFSQsgYv.verified.txt index 996765a1f8..dc359faff1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/25cFSQsgYv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/25cFSQsgYv.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2FJcSOSpS2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2FJcSOSpS2.verified.txt index 2099815fcc..8ba229cb03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2FJcSOSpS2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2FJcSOSpS2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2GQW6JDMp3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2GQW6JDMp3.verified.txt index f3e64ae5c8..7e8b999583 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2GQW6JDMp3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2GQW6JDMp3.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2h4RxJmd8y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2h4RxJmd8y.verified.txt index 9866991fe7..eb395c5477 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2h4RxJmd8y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2h4RxJmd8y.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2uTfcY6oRr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2uTfcY6oRr.verified.txt index 1101fbf8e5..e6b2640b9f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2uTfcY6oRr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/2uTfcY6oRr.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3G0vZbWoKl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3G0vZbWoKl.verified.txt index a8131d2b74..cb056efbb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3G0vZbWoKl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3G0vZbWoKl.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3HolOeXE6X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3HolOeXE6X.verified.txt index eba0867cf1..1ef2d5b098 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3HolOeXE6X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3HolOeXE6X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3mBWDp16rd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3mBWDp16rd.verified.txt index f72a047d15..2a36fa4212 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3mBWDp16rd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3mBWDp16rd.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3oAabmt2UZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3oAabmt2UZ.verified.txt index 2290ab6d6e..a679545d3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3oAabmt2UZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/3oAabmt2UZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4B4V3nXRbi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4B4V3nXRbi.verified.txt index 67b68cd1ab..ec261b1ba4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4B4V3nXRbi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4B4V3nXRbi.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4WKuwCUGdK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4WKuwCUGdK.verified.txt index 8e8065d947..28b83f3eec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4WKuwCUGdK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4WKuwCUGdK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4qxtVFqAJk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4qxtVFqAJk.verified.txt index 5aad69492b..5395ef8c2b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4qxtVFqAJk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/4qxtVFqAJk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/58rLEsr70X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/58rLEsr70X.verified.txt index dd2de89c70..3b32715ee2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/58rLEsr70X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/58rLEsr70X.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5K5b1VcrOP.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5K5b1VcrOP.verified.txt index a8ea5f7ae7..a058aa3d9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5K5b1VcrOP.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5K5b1VcrOP.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5Q17yuMKm7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5Q17yuMKm7.verified.txt index 087e13e8b7..f209384d46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5Q17yuMKm7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5Q17yuMKm7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5nLb3uhXMT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5nLb3uhXMT.verified.txt index 7049250ef2..3fc82fc596 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5nLb3uhXMT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/5nLb3uhXMT.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6HeO7LLgVh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6HeO7LLgVh.verified.txt index 029e6f19b4..058ea62a89 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6HeO7LLgVh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6HeO7LLgVh.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6IDnvwmhCN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6IDnvwmhCN.verified.txt index a6bfac2c1b..13703de525 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6IDnvwmhCN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6IDnvwmhCN.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6RqxkujVrD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6RqxkujVrD.verified.txt index 4968fc8c94..bc6180ae55 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6RqxkujVrD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6RqxkujVrD.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6lXSbuIj9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6lXSbuIj9v.verified.txt index bfa83f50a4..2dae564d20 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6lXSbuIj9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6lXSbuIj9v.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6w1vPiY8I8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6w1vPiY8I8.verified.txt index 5cf086afc2..a3b276773d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6w1vPiY8I8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6w1vPiY8I8.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6xsKtx6pBG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6xsKtx6pBG.verified.txt index c0b754b006..ceee620022 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6xsKtx6pBG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/6xsKtx6pBG.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/7HwoUhfzjA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/7HwoUhfzjA.verified.txt index cd397e3a21..2779f31659 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/7HwoUhfzjA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/7HwoUhfzjA.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8243ZMXNu5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8243ZMXNu5.verified.txt index 4b1088968f..0f48a0698d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8243ZMXNu5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8243ZMXNu5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8NQVN4RqfT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8NQVN4RqfT.verified.txt index 96d1234fdd..ae84a52557 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8NQVN4RqfT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8NQVN4RqfT.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8u0sAu1Eqm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8u0sAu1Eqm.verified.txt index cb52350996..d1182ec404 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8u0sAu1Eqm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/8u0sAu1Eqm.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/90qAmH8XZh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/90qAmH8XZh.verified.txt index e2b103fa61..d2082bc4d8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/90qAmH8XZh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/90qAmH8XZh.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9JIAVifG4N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9JIAVifG4N.verified.txt index f26e56cf8b..f59df9c6fe 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9JIAVifG4N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9JIAVifG4N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9KzNVPKfyb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9KzNVPKfyb.verified.txt index e0966fb3f1..10f23b9278 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9KzNVPKfyb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9KzNVPKfyb.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9Y12quQzSn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9Y12quQzSn.verified.txt index d917a094f5..4928606dbc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9Y12quQzSn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/9Y12quQzSn.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/A3LDARdFrZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/A3LDARdFrZ.verified.txt index e1586e3b08..48b23938ba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/A3LDARdFrZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/A3LDARdFrZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AGUOBcbY4A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AGUOBcbY4A.verified.txt index 56ddc605b2..0ac8c83b5a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AGUOBcbY4A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AGUOBcbY4A.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AZTEicLUf8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AZTEicLUf8.verified.txt index 89b2afda92..05ac7e9e14 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AZTEicLUf8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/AZTEicLUf8.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/B6oAHeCpjv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/B6oAHeCpjv.verified.txt index 837338ee25..e0ad3ceece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/B6oAHeCpjv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/B6oAHeCpjv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BCDkkorwLD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BCDkkorwLD.verified.txt index 2fd700a724..41ad90bdd8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BCDkkorwLD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BCDkkorwLD.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BU0UUvzzuK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BU0UUvzzuK.verified.txt index ce84811336..25e1003e53 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BU0UUvzzuK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BU0UUvzzuK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BoUPxEqWpx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BoUPxEqWpx.verified.txt index e26630974c..30fe875995 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BoUPxEqWpx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/BoUPxEqWpx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Bw4RQ5cmww.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Bw4RQ5cmww.verified.txt index 64ddc1344c..402308a867 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Bw4RQ5cmww.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Bw4RQ5cmww.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CBLHvotK4Y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CBLHvotK4Y.verified.txt index 2bfaa0ebd0..4ba551b619 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CBLHvotK4Y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CBLHvotK4Y.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CIpk6HUes4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CIpk6HUes4.verified.txt index 7ae416850c..33451d3246 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CIpk6HUes4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CIpk6HUes4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CM6dqqGbT5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CM6dqqGbT5.verified.txt index 14b80f8845..3b0441774d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CM6dqqGbT5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CM6dqqGbT5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CQMHho7gsu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CQMHho7gsu.verified.txt index 2351421db2..e9487987be 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CQMHho7gsu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CQMHho7gsu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CRwevTxrKM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CRwevTxrKM.verified.txt index defdaec103..552a0d1460 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CRwevTxrKM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CRwevTxrKM.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ChSNzH0nQf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ChSNzH0nQf.verified.txt index 2c4da765ae..84ec9dd715 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ChSNzH0nQf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ChSNzH0nQf.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CljAURVTMy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CljAURVTMy.verified.txt index dc029afd0a..531301875b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CljAURVTMy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CljAURVTMy.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CrCmZ1rFQQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CrCmZ1rFQQ.verified.txt index 73fce92615..779c01a941 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CrCmZ1rFQQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/CrCmZ1rFQQ.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/D32fvJ2fXc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/D32fvJ2fXc.verified.txt index 9c7e86e326..53da4bafde 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/D32fvJ2fXc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/D32fvJ2fXc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DmVi2A1jh2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DmVi2A1jh2.verified.txt index 329c1d56c0..b8d48f693d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DmVi2A1jh2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DmVi2A1jh2.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DwiaPjLFwd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DwiaPjLFwd.verified.txt index 33d93b56e1..5302d40c0e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DwiaPjLFwd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/DwiaPjLFwd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EJHYFCuWsI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EJHYFCuWsI.verified.txt index dfee9d511d..bbca2c7e28 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EJHYFCuWsI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EJHYFCuWsI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EjHVFORRmC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EjHVFORRmC.verified.txt index dfe01bdb01..985a596b66 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EjHVFORRmC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/EjHVFORRmC.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/F2ETlJ3TUM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/F2ETlJ3TUM.verified.txt index 3d2c14f284..b09ae69191 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/F2ETlJ3TUM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/F2ETlJ3TUM.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/FaNpjhWJnp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/FaNpjhWJnp.verified.txt index b90ed63635..417392a6cb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/FaNpjhWJnp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/FaNpjhWJnp.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/G1iz87Qh9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/G1iz87Qh9v.verified.txt index 914b9459cd..de6635e0d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/G1iz87Qh9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/G1iz87Qh9v.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GAiFkQgtr9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GAiFkQgtr9.verified.txt index bacf4287f5..eac53ede7e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GAiFkQgtr9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GAiFkQgtr9.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GFR12F2PgU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GFR12F2PgU.verified.txt index ab6159329d..acbd7c517a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GFR12F2PgU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GFR12F2PgU.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GGYsXO7NgY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GGYsXO7NgY.verified.txt index 6bdb018acd..20f261dc41 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GGYsXO7NgY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GGYsXO7NgY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GNISh38TPA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GNISh38TPA.verified.txt index b072a622db..54916dc2f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GNISh38TPA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GNISh38TPA.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GbsChMfTbx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GbsChMfTbx.verified.txt index 2655f3a8e5..ed533fd7d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GbsChMfTbx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GbsChMfTbx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gh9VzxAfwQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gh9VzxAfwQ.verified.txt index f0906512cb..211ad74e09 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gh9VzxAfwQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gh9VzxAfwQ.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gneqedonte.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gneqedonte.verified.txt index f0d29d8028..117a2a3c56 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gneqedonte.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gneqedonte.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GqkxwENyM0.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GqkxwENyM0.verified.txt index 23f427b2c7..67c0cbcc31 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GqkxwENyM0.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/GqkxwENyM0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gr0OHLjXmU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gr0OHLjXmU.verified.txt index 0bcc3cd3b9..0c93a60a6f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gr0OHLjXmU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Gr0OHLjXmU.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HgenO1WVxu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HgenO1WVxu.verified.txt index de921e5bfb..bced803960 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HgenO1WVxu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HgenO1WVxu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HyJgcfbHDZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HyJgcfbHDZ.verified.txt index 5e075eef2a..fce8c12549 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HyJgcfbHDZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/HyJgcfbHDZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/I9QdnSKGsb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/I9QdnSKGsb.verified.txt index ef9d1a3ea2..b443aefc46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/I9QdnSKGsb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/I9QdnSKGsb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ILL19WnisW.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ILL19WnisW.verified.txt index a612e47c92..48c9185c95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ILL19WnisW.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ILL19WnisW.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IcUtLq2cFK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IcUtLq2cFK.verified.txt index 63b03503f4..7fc2054e57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IcUtLq2cFK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IcUtLq2cFK.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IgU7pSd2b3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IgU7pSd2b3.verified.txt index 3afa0452f5..fce6f19cc0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IgU7pSd2b3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/IgU7pSd2b3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/JKGj0F7zh9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/JKGj0F7zh9.verified.txt index 77f8036c1a..81bbb612fc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/JKGj0F7zh9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/JKGj0F7zh9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Jq9C6Uxpys.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Jq9C6Uxpys.verified.txt index 7dbd531a60..5ba6e1f638 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Jq9C6Uxpys.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Jq9C6Uxpys.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KIyW41F6r6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KIyW41F6r6.verified.txt index 9ddb5f8bd5..9f24483f0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KIyW41F6r6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KIyW41F6r6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KSbl2FesJc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KSbl2FesJc.verified.txt index c25d62ff82..4256c048ce 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KSbl2FesJc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KSbl2FesJc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KcixvfqGrv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KcixvfqGrv.verified.txt index 235f7b4273..5977c9d095 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KcixvfqGrv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KcixvfqGrv.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KxI2Xy8cPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KxI2Xy8cPS.verified.txt index 363c24f562..0989e031c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KxI2Xy8cPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/KxI2Xy8cPS.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LGZJJpm1uq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LGZJJpm1uq.verified.txt index 1832dba765..635ae8a111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LGZJJpm1uq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LGZJJpm1uq.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LJUqwkNpMv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LJUqwkNpMv.verified.txt index d39c16593e..ca20cfc08d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LJUqwkNpMv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/LJUqwkNpMv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/M4NqZwdXw7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/M4NqZwdXw7.verified.txt index 7231e045b6..0daa00da8b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/M4NqZwdXw7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/M4NqZwdXw7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/MY3XtRzu8x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/MY3XtRzu8x.verified.txt index 14ed885e1f..57f8fe1b92 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/MY3XtRzu8x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/MY3XtRzu8x.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NA3ZnOKVDG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NA3ZnOKVDG.verified.txt index d5e3627632..22bb241e40 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NA3ZnOKVDG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NA3ZnOKVDG.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NG5PKVM1i8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NG5PKVM1i8.verified.txt index eab463950e..06cadd2183 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NG5PKVM1i8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NG5PKVM1i8.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NGOTNmWxHE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NGOTNmWxHE.verified.txt index a106e68b0e..a714d77f03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NGOTNmWxHE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NGOTNmWxHE.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NWdbHdqTCk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NWdbHdqTCk.verified.txt index b90c64f95e..c30f8a68e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NWdbHdqTCk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/NWdbHdqTCk.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OGgQrxiJWS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OGgQrxiJWS.verified.txt index abfc88017c..29f4e9c5dd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OGgQrxiJWS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OGgQrxiJWS.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OpqpTR5Cfw.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OpqpTR5Cfw.verified.txt index d485b0594b..c5e3c9523a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OpqpTR5Cfw.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OpqpTR5Cfw.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Orfrz26F6p.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Orfrz26F6p.verified.txt index 8cb368634c..e28420042e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Orfrz26F6p.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Orfrz26F6p.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OvvLaH9ciz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OvvLaH9ciz.verified.txt index 9a99e14610..5d83e25491 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OvvLaH9ciz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/OvvLaH9ciz.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PXabnXFmkt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PXabnXFmkt.verified.txt index 5045dec16e..6f69fdd7fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PXabnXFmkt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PXabnXFmkt.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PvSh3xfKNr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PvSh3xfKNr.verified.txt index 9fbe1bc114..37f4339a4c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PvSh3xfKNr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/PvSh3xfKNr.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Pw9SxJyXzg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Pw9SxJyXzg.verified.txt index 86d989c1b1..0fadff4ef2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Pw9SxJyXzg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Pw9SxJyXzg.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q0Mq3bhsum.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q0Mq3bhsum.verified.txt index 6d2d381800..2e23d4aea3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q0Mq3bhsum.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q0Mq3bhsum.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q8OFEgFlen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q8OFEgFlen.verified.txt index eba6a814d7..0d0652dbdf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q8OFEgFlen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Q8OFEgFlen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QEUSa16DTz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QEUSa16DTz.verified.txt index ef651629fa..bdfd1a1231 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QEUSa16DTz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QEUSa16DTz.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QKQfFAiHK3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QKQfFAiHK3.verified.txt index b36adc0d8a..41b534b553 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QKQfFAiHK3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QKQfFAiHK3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QS5g7tNsec.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QS5g7tNsec.verified.txt index 9d2482bb58..fe410f46b6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QS5g7tNsec.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QS5g7tNsec.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QXgcj72buY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QXgcj72buY.verified.txt index 92d87f2b66..a8f2e88879 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QXgcj72buY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QXgcj72buY.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYiOTtsnlp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYiOTtsnlp.verified.txt index 678f5ab9ea..c7f7adf4e0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYiOTtsnlp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYiOTtsnlp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYpxxqI6dm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYpxxqI6dm.verified.txt index 57eab85a17..fa60644f69 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYpxxqI6dm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QYpxxqI6dm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QltroljHXp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QltroljHXp.verified.txt index 3475d2b4f2..4394a1d54c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QltroljHXp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/QltroljHXp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/R1tSxHqFWR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/R1tSxHqFWR.verified.txt index 842a9ef4df..d592164f32 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/R1tSxHqFWR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/R1tSxHqFWR.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RFydcSrrCY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RFydcSrrCY.verified.txt index 78850134d0..ba72efd876 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RFydcSrrCY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RFydcSrrCY.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RSvHJzWcVx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RSvHJzWcVx.verified.txt index 688706d09d..0cd710019c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RSvHJzWcVx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RSvHJzWcVx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RTVo1L1S2u.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RTVo1L1S2u.verified.txt index 2b823ae560..081f34e86e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RTVo1L1S2u.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/RTVo1L1S2u.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Rj61S1p4Cs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Rj61S1p4Cs.verified.txt index eb4a5ca291..6cdacab5ef 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Rj61S1p4Cs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Rj61S1p4Cs.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/S6kTKimLen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/S6kTKimLen.verified.txt index 6eb3f30669..2ad153ed5d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/S6kTKimLen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/S6kTKimLen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SEofJbUjIt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SEofJbUjIt.verified.txt index 27503eeb3f..8c3f41d9fa 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SEofJbUjIt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SEofJbUjIt.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SGXzWPLMoG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SGXzWPLMoG.verified.txt index 32cd6c3ed6..e0d974f495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SGXzWPLMoG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SGXzWPLMoG.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SKiA26rgZo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SKiA26rgZo.verified.txt index a8e35e1984..0704128e63 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SKiA26rgZo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SKiA26rgZo.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SaRnK4FOpb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SaRnK4FOpb.verified.txt index 583d4ae364..cc9c67e39a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SaRnK4FOpb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SaRnK4FOpb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SjBV0t0Bz5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SjBV0t0Bz5.verified.txt index 9f66c9e680..8d49104814 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SjBV0t0Bz5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SjBV0t0Bz5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SoTNs8IENd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SoTNs8IENd.verified.txt index 99b7fe9736..4d78220679 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SoTNs8IENd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/SoTNs8IENd.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/St5iPsOfp9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/St5iPsOfp9.verified.txt index 387fb3fcec..8c470135c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/St5iPsOfp9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/St5iPsOfp9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/T97m7kTtiO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/T97m7kTtiO.verified.txt index e3241690c9..d3cc60dece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/T97m7kTtiO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/T97m7kTtiO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TLejc0vivf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TLejc0vivf.verified.txt index 1316953f99..6e858869ec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TLejc0vivf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TLejc0vivf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Thad6nEDD5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Thad6nEDD5.verified.txt index f68d98ca45..6fd800d60c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Thad6nEDD5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Thad6nEDD5.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TxGznMqzl8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TxGznMqzl8.verified.txt index 2b1be8caaf..67e5c5fcdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TxGznMqzl8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/TxGznMqzl8.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UK13zlv5RG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UK13zlv5RG.verified.txt index 0aaf6ad04d..0081e98e95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UK13zlv5RG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UK13zlv5RG.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UMDF9cNbZt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UMDF9cNbZt.verified.txt index 5ab1a1c57c..7218eb41e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UMDF9cNbZt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UMDF9cNbZt.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UY4TVAzonK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UY4TVAzonK.verified.txt index 0110349e39..966fdb2bb3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UY4TVAzonK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/UY4TVAzonK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Uhx1npmK9K.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Uhx1npmK9K.verified.txt index 9c6e40f827..bfb4e4c45d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Uhx1npmK9K.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Uhx1npmK9K.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/V4MmKA6xMl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/V4MmKA6xMl.verified.txt index e7354430e3..ce30c89fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/V4MmKA6xMl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/V4MmKA6xMl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VaeumdU1ie.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VaeumdU1ie.verified.txt index 7f6ee8dc67..dcc3515813 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VaeumdU1ie.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VaeumdU1ie.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VvAJ9zwTgL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VvAJ9zwTgL.verified.txt index 3ea48d00ae..e5b924b83a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VvAJ9zwTgL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/VvAJ9zwTgL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/W9Iz8LDSU6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/W9Iz8LDSU6.verified.txt index 7f013258d7..e7f7948111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/W9Iz8LDSU6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/W9Iz8LDSU6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WEmd7N8AWm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WEmd7N8AWm.verified.txt index 2b2c0816ba..3711ee30d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WEmd7N8AWm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WEmd7N8AWm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WHpY18dDBC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WHpY18dDBC.verified.txt index 220e6aa8f7..a66a4c33fd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WHpY18dDBC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WHpY18dDBC.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WMVLzBfTuM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WMVLzBfTuM.verified.txt index c1a3c38115..a88ce952fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WMVLzBfTuM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WMVLzBfTuM.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WRw2ROnY9A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WRw2ROnY9A.verified.txt index 95fdb8ed7b..dfa41598cc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WRw2ROnY9A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WRw2ROnY9A.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WhPLsKKG2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WhPLsKKG2Q.verified.txt index f235f4a436..80d0669fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WhPLsKKG2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WhPLsKKG2Q.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WzWV0pZmd4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WzWV0pZmd4.verified.txt index dc4bf252cb..8f62c197bf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WzWV0pZmd4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/WzWV0pZmd4.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XdmgypPx1z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XdmgypPx1z.verified.txt index 7f2c192613..f49a3b2e1d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XdmgypPx1z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XdmgypPx1z.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XrmNw9ZJJ4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XrmNw9ZJJ4.verified.txt index 5758f36ef1..7bc4f89dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XrmNw9ZJJ4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/XrmNw9ZJJ4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Y2FIAvdeJd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Y2FIAvdeJd.verified.txt index 64c8ccd04c..7b9d3e2242 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Y2FIAvdeJd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/Y2FIAvdeJd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YLETiC8egS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YLETiC8egS.verified.txt index f1d6698ea8..b462086d75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YLETiC8egS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YLETiC8egS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YQ4C8lGTTp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YQ4C8lGTTp.verified.txt index ccdcd4cddc..a5e5f5125f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YQ4C8lGTTp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YQ4C8lGTTp.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YmajZMirSq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YmajZMirSq.verified.txt index f1fdbbe892..55b13f35ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YmajZMirSq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YmajZMirSq.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YsTXLEcU9e.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YsTXLEcU9e.verified.txt index 660358764a..178340d530 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YsTXLEcU9e.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/YsTXLEcU9e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ZeQaA7MiO7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ZeQaA7MiO7.verified.txt index 47f53ff5bf..bf15eb6b57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ZeQaA7MiO7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ZeQaA7MiO7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a5oBj4NMck.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a5oBj4NMck.verified.txt index a697208740..7da5fa398f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a5oBj4NMck.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a5oBj4NMck.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a9ZatkB5Rh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a9ZatkB5Rh.verified.txt index 8834023188..dbf3b3cc9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a9ZatkB5Rh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/a9ZatkB5Rh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/adj4aYHt0N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/adj4aYHt0N.verified.txt index 693b2fc73f..1dfdd7a723 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/adj4aYHt0N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/adj4aYHt0N.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/azYqyDbI89.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/azYqyDbI89.verified.txt index 0cd8289407..3c426fff50 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/azYqyDbI89.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/azYqyDbI89.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bXddhCA2bk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bXddhCA2bk.verified.txt index d65919c2c3..8ad7ecf03c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bXddhCA2bk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bXddhCA2bk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bbZ1hzo62z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bbZ1hzo62z.verified.txt index 1d374fc031..252e60bc96 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bbZ1hzo62z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bbZ1hzo62z.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bkRaWa4KBI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bkRaWa4KBI.verified.txt index 30ae72bec4..ddd83f655d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bkRaWa4KBI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/bkRaWa4KBI.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ce82vTL7WE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ce82vTL7WE.verified.txt index 88ff0be27b..ce264e0bf3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ce82vTL7WE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ce82vTL7WE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/cgyb3Z1MNu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/cgyb3Z1MNu.verified.txt index 156c16f658..23240499b8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/cgyb3Z1MNu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/cgyb3Z1MNu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dAgWjdgDUL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dAgWjdgDUL.verified.txt index bf085aafd7..ed9afda125 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dAgWjdgDUL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dAgWjdgDUL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dTLky56KCx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dTLky56KCx.verified.txt index f1a599b50a..67c5aba4b3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dTLky56KCx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dTLky56KCx.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dctvtQKUed.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dctvtQKUed.verified.txt index bb6aaf9136..aac0950fe8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dctvtQKUed.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/dctvtQKUed.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/eGknqt2HLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/eGknqt2HLN.verified.txt index fbaab54323..549e52bb93 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/eGknqt2HLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/eGknqt2HLN.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/evEmsereRx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/evEmsereRx.verified.txt index f969c33e63..b2f312bf9c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/evEmsereRx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/evEmsereRx.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f33sdUZvTD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f33sdUZvTD.verified.txt index b71da26573..1fb452d025 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f33sdUZvTD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f33sdUZvTD.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f8GfgtBpEy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f8GfgtBpEy.verified.txt index ae2ce35ce0..99c0c9aeba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f8GfgtBpEy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/f8GfgtBpEy.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fBsIsd9NEC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fBsIsd9NEC.verified.txt index 9eab07a003..e9fe23e17d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fBsIsd9NEC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fBsIsd9NEC.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fe1G3hjBI7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fe1G3hjBI7.verified.txt index 901c59cd66..8f3dc03f62 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fe1G3hjBI7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fe1G3hjBI7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fiHEMJtEsE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fiHEMJtEsE.verified.txt index 4cea925d39..eff3ffeda4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fiHEMJtEsE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/fiHEMJtEsE.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ftvGXa4dWE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ftvGXa4dWE.verified.txt index 014a926d60..4b81a49539 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ftvGXa4dWE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ftvGXa4dWE.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ga0wMsAonO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ga0wMsAonO.verified.txt index bab0164bcb..1aa418551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ga0wMsAonO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ga0wMsAonO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/gkp9EIvkaa.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/gkp9EIvkaa.verified.txt index 293655b4ee..7d2c01a348 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/gkp9EIvkaa.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/gkp9EIvkaa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hFwcREtVxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hFwcREtVxI.verified.txt index 9659f1d4f5..408875873a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hFwcREtVxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hFwcREtVxI.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hjyaHa29Jz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hjyaHa29Jz.verified.txt index 5cfb670234..4055062f19 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hjyaHa29Jz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/hjyaHa29Jz.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/i1n2cAvbLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/i1n2cAvbLN.verified.txt index 628dcc4abd..00f262748e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/i1n2cAvbLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/i1n2cAvbLN.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iHYaBR6vwE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iHYaBR6vwE.verified.txt index 0d6ebf1f55..a0ab806fa1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iHYaBR6vwE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iHYaBR6vwE.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iS1nna8CAC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iS1nna8CAC.verified.txt index 749746865f..c57a4accdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iS1nna8CAC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/iS1nna8CAC.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ilzLRsLJfo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ilzLRsLJfo.verified.txt index 93cf369636..9792f9bc01 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ilzLRsLJfo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ilzLRsLJfo.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/jLSQYXoUZ7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/jLSQYXoUZ7.verified.txt index 4143cedbe9..a204a9ee0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/jLSQYXoUZ7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/jLSQYXoUZ7.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ja7E8gtQYK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ja7E8gtQYK.verified.txt index 8b38121a59..bc48e9cf75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ja7E8gtQYK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ja7E8gtQYK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ji3RViDCgB.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ji3RViDCgB.verified.txt index 266e7cf693..f170883b3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ji3RViDCgB.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ji3RViDCgB.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/k1zq0pGwsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/k1zq0pGwsL.verified.txt index 75ed9f04e0..e552118032 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/k1zq0pGwsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/k1zq0pGwsL.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/kPeQkL6w72.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/kPeQkL6w72.verified.txt index 861c0c8c6b..d6637afeb1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/kPeQkL6w72.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/kPeQkL6w72.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l1jw2uJGZg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l1jw2uJGZg.verified.txt index a02810f3bc..fcbba1936c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l1jw2uJGZg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l1jw2uJGZg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l4e6XelAgq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l4e6XelAgq.verified.txt index 58ccc9d20e..b483c87834 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l4e6XelAgq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/l4e6XelAgq.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lDSTWX4oqG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lDSTWX4oqG.verified.txt index 77ba1da6ae..f8eff78f4f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lDSTWX4oqG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lDSTWX4oqG.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lE9ybfWQrn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lE9ybfWQrn.verified.txt index d886645238..6f06324d51 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lE9ybfWQrn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lE9ybfWQrn.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lLir8SMe7M.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lLir8SMe7M.verified.txt index ec2d808249..4eda9c5523 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lLir8SMe7M.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lLir8SMe7M.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lQc2P8tXnM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lQc2P8tXnM.verified.txt index 62f57980cd..f2693c0571 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lQc2P8tXnM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lQc2P8tXnM.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lxjsvrr5pZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lxjsvrr5pZ.verified.txt index 1d130c57da..550e5f255e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lxjsvrr5pZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/lxjsvrr5pZ.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mD8MIMFKXL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mD8MIMFKXL.verified.txt index 4a409d4768..1611b1837d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mD8MIMFKXL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mD8MIMFKXL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mEk9VnsQLA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mEk9VnsQLA.verified.txt index 55ea4316fb..c54868169d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mEk9VnsQLA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mEk9VnsQLA.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mOEBZdBIAJ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mOEBZdBIAJ.verified.txt index ecd3080420..d6404a5dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mOEBZdBIAJ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/mOEBZdBIAJ.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/n3FTCPtxrx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/n3FTCPtxrx.verified.txt index e91e69d996..c35ec2fb72 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/n3FTCPtxrx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/n3FTCPtxrx.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/nweFjpXFsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/nweFjpXFsL.verified.txt index 1f020b1a88..9bc0fe40bb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/nweFjpXFsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/nweFjpXFsL.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/o2otLTg8Vl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/o2otLTg8Vl.verified.txt index 92717e1176..a0db89306a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/o2otLTg8Vl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/o2otLTg8Vl.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/oQTi0amgPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/oQTi0amgPS.verified.txt index b6eacd384a..b2ae18e888 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/oQTi0amgPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/oQTi0amgPS.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ob9wFUFWgV.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ob9wFUFWgV.verified.txt index 42b197eac6..e131ccdfa7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ob9wFUFWgV.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ob9wFUFWgV.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ogC3zFKxHT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ogC3zFKxHT.verified.txt index eee1d6ea07..eae27f2af8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ogC3zFKxHT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ogC3zFKxHT.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/olJhMnzuPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/olJhMnzuPz.verified.txt index 943451a058..1be9ad322b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/olJhMnzuPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/olJhMnzuPz.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ono9JkTnAN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ono9JkTnAN.verified.txt index 5207f678c1..32053bdfc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ono9JkTnAN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/ono9JkTnAN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pZUfYns8zh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pZUfYns8zh.verified.txt index cc262b473d..8629b46f48 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pZUfYns8zh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pZUfYns8zh.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pjuiUy9p39.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pjuiUy9p39.verified.txt index c57af0cf9f..2860fb1fb7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pjuiUy9p39.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/pjuiUy9p39.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/puxvvYTSLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/puxvvYTSLO.verified.txt index 1bc0b1283e..99d9f567f6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/puxvvYTSLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/puxvvYTSLO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFU7Z1nijR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFU7Z1nijR.verified.txt index 500f65bd28..8c27e4a186 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFU7Z1nijR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFU7Z1nijR.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFoSkj7T13.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFoSkj7T13.verified.txt index 0186cdc28f..519db7eb3b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFoSkj7T13.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qFoSkj7T13.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qJTnnQqF2F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qJTnnQqF2F.verified.txt index cb828ce564..d6d7835250 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qJTnnQqF2F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qJTnnQqF2F.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qKD0Cb8gIA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qKD0Cb8gIA.verified.txt index ba10f0897b..afc7b37bee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qKD0Cb8gIA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qKD0Cb8gIA.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qLOlAXYfVi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qLOlAXYfVi.verified.txt index bac97c3289..44ceb32495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qLOlAXYfVi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qLOlAXYfVi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qRU3nCwt2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qRU3nCwt2Q.verified.txt index 2776a26004..e5ca0244cd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qRU3nCwt2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/qRU3nCwt2Q.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rWqAPGZL5x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rWqAPGZL5x.verified.txt index bbe48d64dc..d264790b3d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rWqAPGZL5x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rWqAPGZL5x.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/reeO7MFnmp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/reeO7MFnmp.verified.txt index 261c182ba5..82d3be0353 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/reeO7MFnmp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/reeO7MFnmp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rjKVwCkFkr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rjKVwCkFkr.verified.txt index 1a241484d6..277f5b271c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rjKVwCkFkr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rjKVwCkFkr.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rkBgJGfViS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rkBgJGfViS.verified.txt index b57383aee3..0facb64982 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rkBgJGfViS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/rkBgJGfViS.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sDmT7Ipq8w.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sDmT7Ipq8w.verified.txt index 70bae0a291..43246752f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sDmT7Ipq8w.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sDmT7Ipq8w.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sNBhPvC0ZD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sNBhPvC0ZD.verified.txt index 71d39498d7..3a3ee5b18d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sNBhPvC0ZD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sNBhPvC0ZD.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/saA0rCxOId.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/saA0rCxOId.verified.txt index 0fbe48bd3d..05f07b7f18 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/saA0rCxOId.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/saA0rCxOId.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sqUxc6SwA4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sqUxc6SwA4.verified.txt index dbb291aabd..b951642594 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sqUxc6SwA4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/sqUxc6SwA4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tZxLYsMc7s.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tZxLYsMc7s.verified.txt index cc07c73ea7..c806997f25 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tZxLYsMc7s.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tZxLYsMc7s.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/taNk0UiCPi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/taNk0UiCPi.verified.txt index d8275a7113..a90d420cdb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/taNk0UiCPi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/taNk0UiCPi.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tep4bS6Kf1.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tep4bS6Kf1.verified.txt index c2766fa09b..55786bc135 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tep4bS6Kf1.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tep4bS6Kf1.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/thnPc0KPMs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/thnPc0KPMs.verified.txt index fd678fdc5b..497d0369f2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/thnPc0KPMs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/thnPc0KPMs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tiGNpHQWuQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tiGNpHQWuQ.verified.txt index b0e60072f6..c7af138342 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tiGNpHQWuQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/tiGNpHQWuQ.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKnQqNmYCb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKnQqNmYCb.verified.txt index d13e732ca4..8274adb2ee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKnQqNmYCb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKnQqNmYCb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKxa9dnwxN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKxa9dnwxN.verified.txt index c6e93f1c87..8b505e2164 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKxa9dnwxN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/uKxa9dnwxN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/v1Rhgo3OFM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/v1Rhgo3OFM.verified.txt index 1c80785fe1..992a2e8e6d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/v1Rhgo3OFM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/v1Rhgo3OFM.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vFikwMxO6k.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vFikwMxO6k.verified.txt index 70a7bbab64..e9f7eba2ac 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vFikwMxO6k.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vFikwMxO6k.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vjSFj06YzO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vjSFj06YzO.verified.txt index e80e0c136f..72590244ad 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vjSFj06YzO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vjSFj06YzO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vzFNnv2Src.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vzFNnv2Src.verified.txt index aae3077bbf..88e0824af7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vzFNnv2Src.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/vzFNnv2Src.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/w7Te0wz04x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/w7Te0wz04x.verified.txt index 09808cd85c..b93c91ba54 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/w7Te0wz04x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/w7Te0wz04x.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/whzkVog54E.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/whzkVog54E.verified.txt index 888001706c..1ed2ade071 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/whzkVog54E.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/whzkVog54E.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/wsGKCM8fa3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/wsGKCM8fa3.verified.txt index 22053567bc..fc0f7dea70 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/wsGKCM8fa3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/wsGKCM8fa3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xAdDoA2n0F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xAdDoA2n0F.verified.txt index a7aa592f0e..9abdbc3ff9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xAdDoA2n0F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xAdDoA2n0F.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xK8UDd7XMx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xK8UDd7XMx.verified.txt index 51c914b2a4..90b6bbd5d1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xK8UDd7XMx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xK8UDd7XMx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xNrbVapWwv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xNrbVapWwv.verified.txt index f4b9802178..b01f0be1c1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xNrbVapWwv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xNrbVapWwv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xdivY90KyF.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xdivY90KyF.verified.txt index f41915f462..a5d1ca3fc7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xdivY90KyF.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xdivY90KyF.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xrqw8zdbit.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xrqw8zdbit.verified.txt index b959533fd5..685d0e1901 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xrqw8zdbit.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xrqw8zdbit.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xtJmjxTvLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xtJmjxTvLO.verified.txt index 5bb72b4f22..00cb61aa43 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xtJmjxTvLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/xtJmjxTvLO.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z5GMR6FT65.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z5GMR6FT65.verified.txt index 074240740f..17c7afad15 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z5GMR6FT65.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z5GMR6FT65.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z9IRzE0Kf5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z9IRzE0Kf5.verified.txt index 8fb7f54df1..bb7941dd79 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z9IRzE0Kf5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/z9IRzE0Kf5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zIETLgBv7L.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zIETLgBv7L.verified.txt index dcbeb183ac..1bd04f47ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zIETLgBv7L.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zIETLgBv7L.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zLA7TqTKPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zLA7TqTKPz.verified.txt index 4ee753e7d6..f7a9f598c7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zLA7TqTKPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zLA7TqTKPz.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zdGbJHTnbv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zdGbJHTnbv.verified.txt index bd831721a2..331584a1e6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zdGbJHTnbv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zdGbJHTnbv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zh3XlzyPIq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zh3XlzyPIq.verified.txt index e11ef5cf59..9a0a2d05c8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zh3XlzyPIq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zh3XlzyPIq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zxcjLWzZLy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zxcjLWzZLy.verified.txt index 2fb4ef0a6e..85c775fcb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zxcjLWzZLy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0-us/zxcjLWzZLy.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0pnsI1bxxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0pnsI1bxxI.verified.txt index 9c66d950f9..d7391da00a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0pnsI1bxxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0pnsI1bxxI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0tPklTLL8f.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0tPklTLL8f.verified.txt index 7eaf7d8000..dcda2e4f6b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0tPklTLL8f.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/0tPklTLL8f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/11k4c6CGtU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/11k4c6CGtU.verified.txt index fad59e0dfb..660ffb947c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/11k4c6CGtU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/11k4c6CGtU.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/18luqBmqNm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/18luqBmqNm.verified.txt index 8da2bae958..7fb3502001 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/18luqBmqNm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/18luqBmqNm.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1h0XbQEjc6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1h0XbQEjc6.verified.txt index 4f53ad0d8f..3e6c94551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1h0XbQEjc6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1h0XbQEjc6.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1nooLrDZvg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1nooLrDZvg.verified.txt index 69d955f615..8dff5fd55f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1nooLrDZvg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/1nooLrDZvg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/22b5GFPsJy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/22b5GFPsJy.verified.txt index 3fc6472c9d..aa6390a304 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/22b5GFPsJy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/22b5GFPsJy.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/25cFSQsgYv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/25cFSQsgYv.verified.txt index 996765a1f8..dc359faff1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/25cFSQsgYv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/25cFSQsgYv.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2FJcSOSpS2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2FJcSOSpS2.verified.txt index 2099815fcc..8ba229cb03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2FJcSOSpS2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2FJcSOSpS2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2GQW6JDMp3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2GQW6JDMp3.verified.txt index f3e64ae5c8..7e8b999583 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2GQW6JDMp3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2GQW6JDMp3.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2h4RxJmd8y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2h4RxJmd8y.verified.txt index 9866991fe7..eb395c5477 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2h4RxJmd8y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2h4RxJmd8y.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2uTfcY6oRr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2uTfcY6oRr.verified.txt index 1101fbf8e5..e6b2640b9f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2uTfcY6oRr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/2uTfcY6oRr.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3G0vZbWoKl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3G0vZbWoKl.verified.txt index a8131d2b74..cb056efbb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3G0vZbWoKl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3G0vZbWoKl.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3HolOeXE6X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3HolOeXE6X.verified.txt index eba0867cf1..1ef2d5b098 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3HolOeXE6X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3HolOeXE6X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3mBWDp16rd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3mBWDp16rd.verified.txt index f72a047d15..2a36fa4212 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3mBWDp16rd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3mBWDp16rd.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3oAabmt2UZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3oAabmt2UZ.verified.txt index 2290ab6d6e..a679545d3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3oAabmt2UZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/3oAabmt2UZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4B4V3nXRbi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4B4V3nXRbi.verified.txt index 67b68cd1ab..ec261b1ba4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4B4V3nXRbi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4B4V3nXRbi.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4WKuwCUGdK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4WKuwCUGdK.verified.txt index 8e8065d947..28b83f3eec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4WKuwCUGdK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4WKuwCUGdK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4qxtVFqAJk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4qxtVFqAJk.verified.txt index 5aad69492b..5395ef8c2b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4qxtVFqAJk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/4qxtVFqAJk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/58rLEsr70X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/58rLEsr70X.verified.txt index dd2de89c70..3b32715ee2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/58rLEsr70X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/58rLEsr70X.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5K5b1VcrOP.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5K5b1VcrOP.verified.txt index a8ea5f7ae7..a058aa3d9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5K5b1VcrOP.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5K5b1VcrOP.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5Q17yuMKm7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5Q17yuMKm7.verified.txt index 087e13e8b7..f209384d46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5Q17yuMKm7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5Q17yuMKm7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5nLb3uhXMT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5nLb3uhXMT.verified.txt index 7049250ef2..3fc82fc596 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5nLb3uhXMT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/5nLb3uhXMT.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6HeO7LLgVh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6HeO7LLgVh.verified.txt index 029e6f19b4..058ea62a89 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6HeO7LLgVh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6HeO7LLgVh.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6IDnvwmhCN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6IDnvwmhCN.verified.txt index a6bfac2c1b..13703de525 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6IDnvwmhCN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6IDnvwmhCN.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6RqxkujVrD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6RqxkujVrD.verified.txt index 4968fc8c94..bc6180ae55 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6RqxkujVrD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6RqxkujVrD.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6lXSbuIj9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6lXSbuIj9v.verified.txt index bfa83f50a4..2dae564d20 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6lXSbuIj9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6lXSbuIj9v.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6w1vPiY8I8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6w1vPiY8I8.verified.txt index 5cf086afc2..a3b276773d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6w1vPiY8I8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6w1vPiY8I8.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6xsKtx6pBG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6xsKtx6pBG.verified.txt index c0b754b006..ceee620022 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6xsKtx6pBG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/6xsKtx6pBG.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/7HwoUhfzjA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/7HwoUhfzjA.verified.txt index cd397e3a21..2779f31659 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/7HwoUhfzjA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/7HwoUhfzjA.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8243ZMXNu5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8243ZMXNu5.verified.txt index 4b1088968f..0f48a0698d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8243ZMXNu5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8243ZMXNu5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8NQVN4RqfT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8NQVN4RqfT.verified.txt index 96d1234fdd..ae84a52557 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8NQVN4RqfT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8NQVN4RqfT.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8u0sAu1Eqm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8u0sAu1Eqm.verified.txt index cb52350996..d1182ec404 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8u0sAu1Eqm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/8u0sAu1Eqm.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/90qAmH8XZh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/90qAmH8XZh.verified.txt index e2b103fa61..d2082bc4d8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/90qAmH8XZh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/90qAmH8XZh.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9JIAVifG4N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9JIAVifG4N.verified.txt index f26e56cf8b..f59df9c6fe 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9JIAVifG4N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9JIAVifG4N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9KzNVPKfyb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9KzNVPKfyb.verified.txt index e0966fb3f1..10f23b9278 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9KzNVPKfyb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9KzNVPKfyb.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9Y12quQzSn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9Y12quQzSn.verified.txt index d917a094f5..4928606dbc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9Y12quQzSn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/9Y12quQzSn.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/A3LDARdFrZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/A3LDARdFrZ.verified.txt index e1586e3b08..48b23938ba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/A3LDARdFrZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/A3LDARdFrZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AGUOBcbY4A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AGUOBcbY4A.verified.txt index 56ddc605b2..0ac8c83b5a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AGUOBcbY4A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AGUOBcbY4A.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AZTEicLUf8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AZTEicLUf8.verified.txt index 89b2afda92..05ac7e9e14 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AZTEicLUf8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/AZTEicLUf8.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/B6oAHeCpjv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/B6oAHeCpjv.verified.txt index 837338ee25..e0ad3ceece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/B6oAHeCpjv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/B6oAHeCpjv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BCDkkorwLD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BCDkkorwLD.verified.txt index 2fd700a724..41ad90bdd8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BCDkkorwLD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BCDkkorwLD.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BU0UUvzzuK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BU0UUvzzuK.verified.txt index ce84811336..25e1003e53 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BU0UUvzzuK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BU0UUvzzuK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BoUPxEqWpx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BoUPxEqWpx.verified.txt index e26630974c..30fe875995 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BoUPxEqWpx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/BoUPxEqWpx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Bw4RQ5cmww.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Bw4RQ5cmww.verified.txt index 64ddc1344c..402308a867 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Bw4RQ5cmww.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Bw4RQ5cmww.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CBLHvotK4Y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CBLHvotK4Y.verified.txt index 2bfaa0ebd0..4ba551b619 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CBLHvotK4Y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CBLHvotK4Y.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CIpk6HUes4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CIpk6HUes4.verified.txt index 7ae416850c..33451d3246 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CIpk6HUes4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CIpk6HUes4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CM6dqqGbT5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CM6dqqGbT5.verified.txt index 14b80f8845..3b0441774d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CM6dqqGbT5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CM6dqqGbT5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CQMHho7gsu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CQMHho7gsu.verified.txt index 2351421db2..e9487987be 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CQMHho7gsu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CQMHho7gsu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CRwevTxrKM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CRwevTxrKM.verified.txt index defdaec103..552a0d1460 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CRwevTxrKM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CRwevTxrKM.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ChSNzH0nQf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ChSNzH0nQf.verified.txt index 2c4da765ae..84ec9dd715 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ChSNzH0nQf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ChSNzH0nQf.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CljAURVTMy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CljAURVTMy.verified.txt index dc029afd0a..531301875b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CljAURVTMy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CljAURVTMy.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CrCmZ1rFQQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CrCmZ1rFQQ.verified.txt index 73fce92615..779c01a941 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CrCmZ1rFQQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/CrCmZ1rFQQ.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/D32fvJ2fXc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/D32fvJ2fXc.verified.txt index 9c7e86e326..53da4bafde 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/D32fvJ2fXc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/D32fvJ2fXc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DmVi2A1jh2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DmVi2A1jh2.verified.txt index 329c1d56c0..b8d48f693d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DmVi2A1jh2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DmVi2A1jh2.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DwiaPjLFwd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DwiaPjLFwd.verified.txt index 33d93b56e1..5302d40c0e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DwiaPjLFwd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/DwiaPjLFwd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EJHYFCuWsI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EJHYFCuWsI.verified.txt index dfee9d511d..bbca2c7e28 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EJHYFCuWsI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EJHYFCuWsI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EjHVFORRmC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EjHVFORRmC.verified.txt index dfe01bdb01..985a596b66 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EjHVFORRmC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/EjHVFORRmC.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/F2ETlJ3TUM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/F2ETlJ3TUM.verified.txt index 3d2c14f284..b09ae69191 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/F2ETlJ3TUM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/F2ETlJ3TUM.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/FaNpjhWJnp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/FaNpjhWJnp.verified.txt index b90ed63635..417392a6cb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/FaNpjhWJnp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/FaNpjhWJnp.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/G1iz87Qh9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/G1iz87Qh9v.verified.txt index 914b9459cd..de6635e0d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/G1iz87Qh9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/G1iz87Qh9v.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GAiFkQgtr9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GAiFkQgtr9.verified.txt index bacf4287f5..eac53ede7e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GAiFkQgtr9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GAiFkQgtr9.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GFR12F2PgU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GFR12F2PgU.verified.txt index ab6159329d..acbd7c517a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GFR12F2PgU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GFR12F2PgU.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GGYsXO7NgY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GGYsXO7NgY.verified.txt index 6bdb018acd..20f261dc41 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GGYsXO7NgY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GGYsXO7NgY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GNISh38TPA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GNISh38TPA.verified.txt index b072a622db..54916dc2f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GNISh38TPA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GNISh38TPA.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GbsChMfTbx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GbsChMfTbx.verified.txt index 2655f3a8e5..ed533fd7d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GbsChMfTbx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GbsChMfTbx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gh9VzxAfwQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gh9VzxAfwQ.verified.txt index f0906512cb..211ad74e09 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gh9VzxAfwQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gh9VzxAfwQ.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gneqedonte.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gneqedonte.verified.txt index f0d29d8028..117a2a3c56 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gneqedonte.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gneqedonte.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GqkxwENyM0.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GqkxwENyM0.verified.txt index 23f427b2c7..67c0cbcc31 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GqkxwENyM0.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/GqkxwENyM0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gr0OHLjXmU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gr0OHLjXmU.verified.txt index 0bcc3cd3b9..0c93a60a6f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gr0OHLjXmU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Gr0OHLjXmU.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HgenO1WVxu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HgenO1WVxu.verified.txt index de921e5bfb..bced803960 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HgenO1WVxu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HgenO1WVxu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HyJgcfbHDZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HyJgcfbHDZ.verified.txt index 5e075eef2a..fce8c12549 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HyJgcfbHDZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/HyJgcfbHDZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/I9QdnSKGsb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/I9QdnSKGsb.verified.txt index ef9d1a3ea2..b443aefc46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/I9QdnSKGsb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/I9QdnSKGsb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ILL19WnisW.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ILL19WnisW.verified.txt index a612e47c92..48c9185c95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ILL19WnisW.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ILL19WnisW.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IcUtLq2cFK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IcUtLq2cFK.verified.txt index 63b03503f4..7fc2054e57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IcUtLq2cFK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IcUtLq2cFK.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IgU7pSd2b3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IgU7pSd2b3.verified.txt index 3afa0452f5..fce6f19cc0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IgU7pSd2b3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/IgU7pSd2b3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/JKGj0F7zh9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/JKGj0F7zh9.verified.txt index 77f8036c1a..81bbb612fc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/JKGj0F7zh9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/JKGj0F7zh9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Jq9C6Uxpys.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Jq9C6Uxpys.verified.txt index 7dbd531a60..5ba6e1f638 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Jq9C6Uxpys.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Jq9C6Uxpys.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KIyW41F6r6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KIyW41F6r6.verified.txt index 9ddb5f8bd5..9f24483f0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KIyW41F6r6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KIyW41F6r6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KSbl2FesJc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KSbl2FesJc.verified.txt index c25d62ff82..4256c048ce 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KSbl2FesJc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KSbl2FesJc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KcixvfqGrv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KcixvfqGrv.verified.txt index 235f7b4273..5977c9d095 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KcixvfqGrv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KcixvfqGrv.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KxI2Xy8cPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KxI2Xy8cPS.verified.txt index 363c24f562..0989e031c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KxI2Xy8cPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/KxI2Xy8cPS.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LGZJJpm1uq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LGZJJpm1uq.verified.txt index 1832dba765..635ae8a111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LGZJJpm1uq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LGZJJpm1uq.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LJUqwkNpMv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LJUqwkNpMv.verified.txt index d39c16593e..ca20cfc08d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LJUqwkNpMv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/LJUqwkNpMv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/M4NqZwdXw7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/M4NqZwdXw7.verified.txt index 7231e045b6..0daa00da8b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/M4NqZwdXw7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/M4NqZwdXw7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/MY3XtRzu8x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/MY3XtRzu8x.verified.txt index 14ed885e1f..57f8fe1b92 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/MY3XtRzu8x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/MY3XtRzu8x.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NA3ZnOKVDG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NA3ZnOKVDG.verified.txt index d5e3627632..22bb241e40 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NA3ZnOKVDG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NA3ZnOKVDG.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NG5PKVM1i8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NG5PKVM1i8.verified.txt index eab463950e..06cadd2183 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NG5PKVM1i8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NG5PKVM1i8.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NGOTNmWxHE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NGOTNmWxHE.verified.txt index a106e68b0e..a714d77f03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NGOTNmWxHE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NGOTNmWxHE.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NWdbHdqTCk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NWdbHdqTCk.verified.txt index b90c64f95e..c30f8a68e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NWdbHdqTCk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/NWdbHdqTCk.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OGgQrxiJWS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OGgQrxiJWS.verified.txt index abfc88017c..29f4e9c5dd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OGgQrxiJWS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OGgQrxiJWS.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OpqpTR5Cfw.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OpqpTR5Cfw.verified.txt index d485b0594b..c5e3c9523a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OpqpTR5Cfw.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OpqpTR5Cfw.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Orfrz26F6p.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Orfrz26F6p.verified.txt index 8cb368634c..e28420042e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Orfrz26F6p.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Orfrz26F6p.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OvvLaH9ciz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OvvLaH9ciz.verified.txt index 9a99e14610..5d83e25491 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OvvLaH9ciz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/OvvLaH9ciz.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PXabnXFmkt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PXabnXFmkt.verified.txt index 5045dec16e..6f69fdd7fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PXabnXFmkt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PXabnXFmkt.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PvSh3xfKNr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PvSh3xfKNr.verified.txt index 9fbe1bc114..37f4339a4c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PvSh3xfKNr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/PvSh3xfKNr.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Pw9SxJyXzg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Pw9SxJyXzg.verified.txt index 86d989c1b1..0fadff4ef2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Pw9SxJyXzg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Pw9SxJyXzg.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q0Mq3bhsum.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q0Mq3bhsum.verified.txt index 6d2d381800..2e23d4aea3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q0Mq3bhsum.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q0Mq3bhsum.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q8OFEgFlen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q8OFEgFlen.verified.txt index eba6a814d7..0d0652dbdf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q8OFEgFlen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Q8OFEgFlen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QEUSa16DTz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QEUSa16DTz.verified.txt index ef651629fa..bdfd1a1231 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QEUSa16DTz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QEUSa16DTz.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QKQfFAiHK3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QKQfFAiHK3.verified.txt index b36adc0d8a..41b534b553 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QKQfFAiHK3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QKQfFAiHK3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QS5g7tNsec.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QS5g7tNsec.verified.txt index 9d2482bb58..fe410f46b6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QS5g7tNsec.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QS5g7tNsec.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QXgcj72buY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QXgcj72buY.verified.txt index 92d87f2b66..a8f2e88879 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QXgcj72buY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QXgcj72buY.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYiOTtsnlp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYiOTtsnlp.verified.txt index 678f5ab9ea..c7f7adf4e0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYiOTtsnlp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYiOTtsnlp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYpxxqI6dm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYpxxqI6dm.verified.txt index 57eab85a17..fa60644f69 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYpxxqI6dm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QYpxxqI6dm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QltroljHXp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QltroljHXp.verified.txt index 3475d2b4f2..4394a1d54c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QltroljHXp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/QltroljHXp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/R1tSxHqFWR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/R1tSxHqFWR.verified.txt index 842a9ef4df..d592164f32 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/R1tSxHqFWR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/R1tSxHqFWR.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RFydcSrrCY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RFydcSrrCY.verified.txt index 78850134d0..ba72efd876 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RFydcSrrCY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RFydcSrrCY.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RSvHJzWcVx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RSvHJzWcVx.verified.txt index 688706d09d..0cd710019c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RSvHJzWcVx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RSvHJzWcVx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RTVo1L1S2u.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RTVo1L1S2u.verified.txt index 2b823ae560..081f34e86e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RTVo1L1S2u.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/RTVo1L1S2u.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Rj61S1p4Cs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Rj61S1p4Cs.verified.txt index eb4a5ca291..6cdacab5ef 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Rj61S1p4Cs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Rj61S1p4Cs.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/S6kTKimLen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/S6kTKimLen.verified.txt index 6eb3f30669..2ad153ed5d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/S6kTKimLen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/S6kTKimLen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SEofJbUjIt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SEofJbUjIt.verified.txt index 27503eeb3f..8c3f41d9fa 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SEofJbUjIt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SEofJbUjIt.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SGXzWPLMoG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SGXzWPLMoG.verified.txt index 32cd6c3ed6..e0d974f495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SGXzWPLMoG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SGXzWPLMoG.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SKiA26rgZo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SKiA26rgZo.verified.txt index a8e35e1984..0704128e63 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SKiA26rgZo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SKiA26rgZo.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SaRnK4FOpb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SaRnK4FOpb.verified.txt index 583d4ae364..cc9c67e39a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SaRnK4FOpb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SaRnK4FOpb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SjBV0t0Bz5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SjBV0t0Bz5.verified.txt index 9f66c9e680..8d49104814 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SjBV0t0Bz5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SjBV0t0Bz5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SoTNs8IENd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SoTNs8IENd.verified.txt index 99b7fe9736..4d78220679 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SoTNs8IENd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/SoTNs8IENd.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/St5iPsOfp9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/St5iPsOfp9.verified.txt index 387fb3fcec..8c470135c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/St5iPsOfp9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/St5iPsOfp9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/T97m7kTtiO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/T97m7kTtiO.verified.txt index e3241690c9..d3cc60dece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/T97m7kTtiO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/T97m7kTtiO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TLejc0vivf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TLejc0vivf.verified.txt index 1316953f99..6e858869ec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TLejc0vivf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TLejc0vivf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Thad6nEDD5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Thad6nEDD5.verified.txt index f68d98ca45..6fd800d60c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Thad6nEDD5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Thad6nEDD5.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TxGznMqzl8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TxGznMqzl8.verified.txt index 2b1be8caaf..67e5c5fcdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TxGznMqzl8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/TxGznMqzl8.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UK13zlv5RG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UK13zlv5RG.verified.txt index 0aaf6ad04d..0081e98e95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UK13zlv5RG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UK13zlv5RG.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UMDF9cNbZt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UMDF9cNbZt.verified.txt index 5ab1a1c57c..7218eb41e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UMDF9cNbZt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UMDF9cNbZt.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UY4TVAzonK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UY4TVAzonK.verified.txt index 0110349e39..966fdb2bb3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UY4TVAzonK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/UY4TVAzonK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Uhx1npmK9K.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Uhx1npmK9K.verified.txt index 9c6e40f827..bfb4e4c45d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Uhx1npmK9K.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Uhx1npmK9K.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/V4MmKA6xMl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/V4MmKA6xMl.verified.txt index e7354430e3..ce30c89fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/V4MmKA6xMl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/V4MmKA6xMl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VaeumdU1ie.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VaeumdU1ie.verified.txt index 7f6ee8dc67..dcc3515813 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VaeumdU1ie.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VaeumdU1ie.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VvAJ9zwTgL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VvAJ9zwTgL.verified.txt index 3ea48d00ae..e5b924b83a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VvAJ9zwTgL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/VvAJ9zwTgL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/W9Iz8LDSU6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/W9Iz8LDSU6.verified.txt index 7f013258d7..e7f7948111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/W9Iz8LDSU6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/W9Iz8LDSU6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WEmd7N8AWm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WEmd7N8AWm.verified.txt index 2b2c0816ba..3711ee30d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WEmd7N8AWm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WEmd7N8AWm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WHpY18dDBC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WHpY18dDBC.verified.txt index 220e6aa8f7..a66a4c33fd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WHpY18dDBC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WHpY18dDBC.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WMVLzBfTuM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WMVLzBfTuM.verified.txt index c1a3c38115..a88ce952fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WMVLzBfTuM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WMVLzBfTuM.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WRw2ROnY9A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WRw2ROnY9A.verified.txt index 95fdb8ed7b..dfa41598cc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WRw2ROnY9A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WRw2ROnY9A.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WhPLsKKG2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WhPLsKKG2Q.verified.txt index f235f4a436..80d0669fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WhPLsKKG2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WhPLsKKG2Q.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WzWV0pZmd4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WzWV0pZmd4.verified.txt index dc4bf252cb..8f62c197bf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WzWV0pZmd4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/WzWV0pZmd4.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XdmgypPx1z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XdmgypPx1z.verified.txt index 7f2c192613..f49a3b2e1d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XdmgypPx1z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XdmgypPx1z.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XrmNw9ZJJ4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XrmNw9ZJJ4.verified.txt index 5758f36ef1..7bc4f89dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XrmNw9ZJJ4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/XrmNw9ZJJ4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Y2FIAvdeJd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Y2FIAvdeJd.verified.txt index 64c8ccd04c..7b9d3e2242 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Y2FIAvdeJd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/Y2FIAvdeJd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YLETiC8egS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YLETiC8egS.verified.txt index f1d6698ea8..b462086d75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YLETiC8egS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YLETiC8egS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YQ4C8lGTTp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YQ4C8lGTTp.verified.txt index ccdcd4cddc..a5e5f5125f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YQ4C8lGTTp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YQ4C8lGTTp.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YmajZMirSq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YmajZMirSq.verified.txt index f1fdbbe892..55b13f35ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YmajZMirSq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YmajZMirSq.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YsTXLEcU9e.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YsTXLEcU9e.verified.txt index 660358764a..178340d530 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YsTXLEcU9e.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/YsTXLEcU9e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ZeQaA7MiO7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ZeQaA7MiO7.verified.txt index 47f53ff5bf..bf15eb6b57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ZeQaA7MiO7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ZeQaA7MiO7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a5oBj4NMck.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a5oBj4NMck.verified.txt index a697208740..7da5fa398f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a5oBj4NMck.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a5oBj4NMck.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a9ZatkB5Rh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a9ZatkB5Rh.verified.txt index 8834023188..dbf3b3cc9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a9ZatkB5Rh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/a9ZatkB5Rh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/adj4aYHt0N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/adj4aYHt0N.verified.txt index 693b2fc73f..1dfdd7a723 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/adj4aYHt0N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/adj4aYHt0N.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/azYqyDbI89.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/azYqyDbI89.verified.txt index 0cd8289407..3c426fff50 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/azYqyDbI89.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/azYqyDbI89.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bXddhCA2bk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bXddhCA2bk.verified.txt index d65919c2c3..8ad7ecf03c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bXddhCA2bk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bXddhCA2bk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bbZ1hzo62z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bbZ1hzo62z.verified.txt index 1d374fc031..252e60bc96 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bbZ1hzo62z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bbZ1hzo62z.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bkRaWa4KBI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bkRaWa4KBI.verified.txt index 30ae72bec4..ddd83f655d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bkRaWa4KBI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/bkRaWa4KBI.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ce82vTL7WE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ce82vTL7WE.verified.txt index 88ff0be27b..ce264e0bf3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ce82vTL7WE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ce82vTL7WE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/cgyb3Z1MNu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/cgyb3Z1MNu.verified.txt index 156c16f658..23240499b8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/cgyb3Z1MNu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/cgyb3Z1MNu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dAgWjdgDUL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dAgWjdgDUL.verified.txt index bf085aafd7..ed9afda125 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dAgWjdgDUL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dAgWjdgDUL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dTLky56KCx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dTLky56KCx.verified.txt index f1a599b50a..67c5aba4b3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dTLky56KCx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dTLky56KCx.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dctvtQKUed.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dctvtQKUed.verified.txt index bb6aaf9136..aac0950fe8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dctvtQKUed.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/dctvtQKUed.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/eGknqt2HLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/eGknqt2HLN.verified.txt index fbaab54323..549e52bb93 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/eGknqt2HLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/eGknqt2HLN.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/evEmsereRx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/evEmsereRx.verified.txt index f969c33e63..b2f312bf9c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/evEmsereRx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/evEmsereRx.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f33sdUZvTD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f33sdUZvTD.verified.txt index b71da26573..1fb452d025 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f33sdUZvTD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f33sdUZvTD.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f8GfgtBpEy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f8GfgtBpEy.verified.txt index ae2ce35ce0..99c0c9aeba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f8GfgtBpEy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/f8GfgtBpEy.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fBsIsd9NEC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fBsIsd9NEC.verified.txt index 9eab07a003..e9fe23e17d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fBsIsd9NEC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fBsIsd9NEC.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fe1G3hjBI7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fe1G3hjBI7.verified.txt index 901c59cd66..8f3dc03f62 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fe1G3hjBI7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fe1G3hjBI7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fiHEMJtEsE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fiHEMJtEsE.verified.txt index 4cea925d39..eff3ffeda4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fiHEMJtEsE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/fiHEMJtEsE.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ftvGXa4dWE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ftvGXa4dWE.verified.txt index 014a926d60..4b81a49539 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ftvGXa4dWE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ftvGXa4dWE.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ga0wMsAonO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ga0wMsAonO.verified.txt index bab0164bcb..1aa418551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ga0wMsAonO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ga0wMsAonO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/gkp9EIvkaa.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/gkp9EIvkaa.verified.txt index 293655b4ee..7d2c01a348 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/gkp9EIvkaa.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/gkp9EIvkaa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hFwcREtVxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hFwcREtVxI.verified.txt index 9659f1d4f5..408875873a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hFwcREtVxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hFwcREtVxI.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hjyaHa29Jz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hjyaHa29Jz.verified.txt index 5cfb670234..4055062f19 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hjyaHa29Jz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/hjyaHa29Jz.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/i1n2cAvbLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/i1n2cAvbLN.verified.txt index 628dcc4abd..00f262748e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/i1n2cAvbLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/i1n2cAvbLN.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iHYaBR6vwE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iHYaBR6vwE.verified.txt index 0d6ebf1f55..a0ab806fa1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iHYaBR6vwE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iHYaBR6vwE.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iS1nna8CAC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iS1nna8CAC.verified.txt index 749746865f..c57a4accdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iS1nna8CAC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/iS1nna8CAC.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ilzLRsLJfo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ilzLRsLJfo.verified.txt index 93cf369636..9792f9bc01 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ilzLRsLJfo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ilzLRsLJfo.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/jLSQYXoUZ7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/jLSQYXoUZ7.verified.txt index 4143cedbe9..a204a9ee0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/jLSQYXoUZ7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/jLSQYXoUZ7.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ja7E8gtQYK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ja7E8gtQYK.verified.txt index 8b38121a59..bc48e9cf75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ja7E8gtQYK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ja7E8gtQYK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ji3RViDCgB.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ji3RViDCgB.verified.txt index 266e7cf693..f170883b3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ji3RViDCgB.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ji3RViDCgB.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/k1zq0pGwsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/k1zq0pGwsL.verified.txt index 75ed9f04e0..e552118032 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/k1zq0pGwsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/k1zq0pGwsL.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/kPeQkL6w72.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/kPeQkL6w72.verified.txt index 861c0c8c6b..d6637afeb1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/kPeQkL6w72.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/kPeQkL6w72.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l1jw2uJGZg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l1jw2uJGZg.verified.txt index a02810f3bc..fcbba1936c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l1jw2uJGZg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l1jw2uJGZg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l4e6XelAgq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l4e6XelAgq.verified.txt index 58ccc9d20e..b483c87834 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l4e6XelAgq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/l4e6XelAgq.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lDSTWX4oqG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lDSTWX4oqG.verified.txt index 77ba1da6ae..f8eff78f4f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lDSTWX4oqG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lDSTWX4oqG.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lE9ybfWQrn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lE9ybfWQrn.verified.txt index d886645238..6f06324d51 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lE9ybfWQrn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lE9ybfWQrn.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lLir8SMe7M.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lLir8SMe7M.verified.txt index ec2d808249..4eda9c5523 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lLir8SMe7M.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lLir8SMe7M.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lQc2P8tXnM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lQc2P8tXnM.verified.txt index 62f57980cd..f2693c0571 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lQc2P8tXnM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lQc2P8tXnM.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lxjsvrr5pZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lxjsvrr5pZ.verified.txt index 1d130c57da..550e5f255e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lxjsvrr5pZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/lxjsvrr5pZ.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mD8MIMFKXL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mD8MIMFKXL.verified.txt index 4a409d4768..1611b1837d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mD8MIMFKXL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mD8MIMFKXL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mEk9VnsQLA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mEk9VnsQLA.verified.txt index 55ea4316fb..c54868169d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mEk9VnsQLA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mEk9VnsQLA.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mOEBZdBIAJ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mOEBZdBIAJ.verified.txt index ecd3080420..d6404a5dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mOEBZdBIAJ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/mOEBZdBIAJ.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/n3FTCPtxrx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/n3FTCPtxrx.verified.txt index e91e69d996..c35ec2fb72 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/n3FTCPtxrx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/n3FTCPtxrx.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/nweFjpXFsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/nweFjpXFsL.verified.txt index 1f020b1a88..9bc0fe40bb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/nweFjpXFsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/nweFjpXFsL.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/o2otLTg8Vl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/o2otLTg8Vl.verified.txt index 92717e1176..a0db89306a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/o2otLTg8Vl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/o2otLTg8Vl.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/oQTi0amgPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/oQTi0amgPS.verified.txt index b6eacd384a..b2ae18e888 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/oQTi0amgPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/oQTi0amgPS.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ob9wFUFWgV.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ob9wFUFWgV.verified.txt index 42b197eac6..e131ccdfa7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ob9wFUFWgV.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ob9wFUFWgV.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ogC3zFKxHT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ogC3zFKxHT.verified.txt index eee1d6ea07..eae27f2af8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ogC3zFKxHT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ogC3zFKxHT.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/olJhMnzuPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/olJhMnzuPz.verified.txt index 943451a058..1be9ad322b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/olJhMnzuPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/olJhMnzuPz.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ono9JkTnAN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ono9JkTnAN.verified.txt index 5207f678c1..32053bdfc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ono9JkTnAN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/ono9JkTnAN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pZUfYns8zh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pZUfYns8zh.verified.txt index cc262b473d..8629b46f48 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pZUfYns8zh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pZUfYns8zh.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pjuiUy9p39.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pjuiUy9p39.verified.txt index c57af0cf9f..2860fb1fb7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pjuiUy9p39.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/pjuiUy9p39.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/puxvvYTSLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/puxvvYTSLO.verified.txt index 1bc0b1283e..99d9f567f6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/puxvvYTSLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/puxvvYTSLO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFU7Z1nijR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFU7Z1nijR.verified.txt index 500f65bd28..8c27e4a186 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFU7Z1nijR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFU7Z1nijR.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFoSkj7T13.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFoSkj7T13.verified.txt index 0186cdc28f..519db7eb3b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFoSkj7T13.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qFoSkj7T13.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qJTnnQqF2F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qJTnnQqF2F.verified.txt index cb828ce564..d6d7835250 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qJTnnQqF2F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qJTnnQqF2F.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qKD0Cb8gIA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qKD0Cb8gIA.verified.txt index ba10f0897b..afc7b37bee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qKD0Cb8gIA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qKD0Cb8gIA.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qLOlAXYfVi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qLOlAXYfVi.verified.txt index bac97c3289..44ceb32495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qLOlAXYfVi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qLOlAXYfVi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qRU3nCwt2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qRU3nCwt2Q.verified.txt index 2776a26004..e5ca0244cd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qRU3nCwt2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/qRU3nCwt2Q.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rWqAPGZL5x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rWqAPGZL5x.verified.txt index bbe48d64dc..d264790b3d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rWqAPGZL5x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rWqAPGZL5x.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/reeO7MFnmp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/reeO7MFnmp.verified.txt index 261c182ba5..82d3be0353 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/reeO7MFnmp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/reeO7MFnmp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rjKVwCkFkr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rjKVwCkFkr.verified.txt index 1a241484d6..277f5b271c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rjKVwCkFkr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rjKVwCkFkr.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rkBgJGfViS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rkBgJGfViS.verified.txt index b57383aee3..0facb64982 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rkBgJGfViS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/rkBgJGfViS.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sDmT7Ipq8w.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sDmT7Ipq8w.verified.txt index 70bae0a291..43246752f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sDmT7Ipq8w.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sDmT7Ipq8w.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sNBhPvC0ZD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sNBhPvC0ZD.verified.txt index 71d39498d7..3a3ee5b18d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sNBhPvC0ZD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sNBhPvC0ZD.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/saA0rCxOId.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/saA0rCxOId.verified.txt index 0fbe48bd3d..05f07b7f18 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/saA0rCxOId.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/saA0rCxOId.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sqUxc6SwA4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sqUxc6SwA4.verified.txt index dbb291aabd..b951642594 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sqUxc6SwA4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/sqUxc6SwA4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tZxLYsMc7s.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tZxLYsMc7s.verified.txt index cc07c73ea7..c806997f25 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tZxLYsMc7s.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tZxLYsMc7s.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/taNk0UiCPi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/taNk0UiCPi.verified.txt index d8275a7113..a90d420cdb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/taNk0UiCPi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/taNk0UiCPi.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tep4bS6Kf1.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tep4bS6Kf1.verified.txt index c2766fa09b..55786bc135 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tep4bS6Kf1.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tep4bS6Kf1.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/thnPc0KPMs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/thnPc0KPMs.verified.txt index fd678fdc5b..497d0369f2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/thnPc0KPMs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/thnPc0KPMs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tiGNpHQWuQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tiGNpHQWuQ.verified.txt index b0e60072f6..c7af138342 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tiGNpHQWuQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/tiGNpHQWuQ.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKnQqNmYCb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKnQqNmYCb.verified.txt index d13e732ca4..8274adb2ee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKnQqNmYCb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKnQqNmYCb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKxa9dnwxN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKxa9dnwxN.verified.txt index c6e93f1c87..8b505e2164 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKxa9dnwxN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/uKxa9dnwxN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/v1Rhgo3OFM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/v1Rhgo3OFM.verified.txt index 1c80785fe1..992a2e8e6d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/v1Rhgo3OFM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/v1Rhgo3OFM.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vFikwMxO6k.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vFikwMxO6k.verified.txt index 70a7bbab64..e9f7eba2ac 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vFikwMxO6k.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vFikwMxO6k.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vjSFj06YzO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vjSFj06YzO.verified.txt index e80e0c136f..72590244ad 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vjSFj06YzO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vjSFj06YzO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vzFNnv2Src.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vzFNnv2Src.verified.txt index aae3077bbf..88e0824af7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vzFNnv2Src.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/vzFNnv2Src.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/w7Te0wz04x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/w7Te0wz04x.verified.txt index 09808cd85c..b93c91ba54 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/w7Te0wz04x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/w7Te0wz04x.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/whzkVog54E.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/whzkVog54E.verified.txt index 888001706c..1ed2ade071 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/whzkVog54E.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/whzkVog54E.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/wsGKCM8fa3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/wsGKCM8fa3.verified.txt index 22053567bc..fc0f7dea70 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/wsGKCM8fa3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/wsGKCM8fa3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xAdDoA2n0F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xAdDoA2n0F.verified.txt index a7aa592f0e..9abdbc3ff9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xAdDoA2n0F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xAdDoA2n0F.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xK8UDd7XMx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xK8UDd7XMx.verified.txt index 51c914b2a4..90b6bbd5d1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xK8UDd7XMx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xK8UDd7XMx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xNrbVapWwv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xNrbVapWwv.verified.txt index f4b9802178..b01f0be1c1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xNrbVapWwv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xNrbVapWwv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xdivY90KyF.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xdivY90KyF.verified.txt index f41915f462..a5d1ca3fc7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xdivY90KyF.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xdivY90KyF.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xrqw8zdbit.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xrqw8zdbit.verified.txt index b959533fd5..685d0e1901 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xrqw8zdbit.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xrqw8zdbit.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xtJmjxTvLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xtJmjxTvLO.verified.txt index 5bb72b4f22..00cb61aa43 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xtJmjxTvLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/xtJmjxTvLO.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z5GMR6FT65.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z5GMR6FT65.verified.txt index 074240740f..17c7afad15 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z5GMR6FT65.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z5GMR6FT65.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z9IRzE0Kf5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z9IRzE0Kf5.verified.txt index 8fb7f54df1..bb7941dd79 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z9IRzE0Kf5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/z9IRzE0Kf5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zIETLgBv7L.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zIETLgBv7L.verified.txt index dcbeb183ac..1bd04f47ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zIETLgBv7L.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zIETLgBv7L.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zLA7TqTKPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zLA7TqTKPz.verified.txt index 4ee753e7d6..f7a9f598c7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zLA7TqTKPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zLA7TqTKPz.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zdGbJHTnbv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zdGbJHTnbv.verified.txt index bd831721a2..331584a1e6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zdGbJHTnbv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zdGbJHTnbv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zh3XlzyPIq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zh3XlzyPIq.verified.txt index e11ef5cf59..9a0a2d05c8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zh3XlzyPIq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zh3XlzyPIq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zxcjLWzZLy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zxcjLWzZLy.verified.txt index 2fb4ef0a6e..85c775fcb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zxcjLWzZLy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v8.0/zxcjLWzZLy.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0pnsI1bxxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0pnsI1bxxI.verified.txt index 9c66d950f9..d7391da00a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0pnsI1bxxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0pnsI1bxxI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0tPklTLL8f.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0tPklTLL8f.verified.txt index 7eaf7d8000..dcda2e4f6b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0tPklTLL8f.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/0tPklTLL8f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/11k4c6CGtU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/11k4c6CGtU.verified.txt index fad59e0dfb..660ffb947c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/11k4c6CGtU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/11k4c6CGtU.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/18luqBmqNm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/18luqBmqNm.verified.txt index 8da2bae958..7fb3502001 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/18luqBmqNm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/18luqBmqNm.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1h0XbQEjc6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1h0XbQEjc6.verified.txt index 4f53ad0d8f..3e6c94551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1h0XbQEjc6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1h0XbQEjc6.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1nooLrDZvg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1nooLrDZvg.verified.txt index 69d955f615..8dff5fd55f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1nooLrDZvg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/1nooLrDZvg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/22b5GFPsJy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/22b5GFPsJy.verified.txt index 3fc6472c9d..aa6390a304 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/22b5GFPsJy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/22b5GFPsJy.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/25cFSQsgYv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/25cFSQsgYv.verified.txt index 996765a1f8..dc359faff1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/25cFSQsgYv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/25cFSQsgYv.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2FJcSOSpS2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2FJcSOSpS2.verified.txt index 2099815fcc..8ba229cb03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2FJcSOSpS2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2FJcSOSpS2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2GQW6JDMp3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2GQW6JDMp3.verified.txt index f3e64ae5c8..7e8b999583 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2GQW6JDMp3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2GQW6JDMp3.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2h4RxJmd8y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2h4RxJmd8y.verified.txt index 9866991fe7..eb395c5477 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2h4RxJmd8y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2h4RxJmd8y.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2uTfcY6oRr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2uTfcY6oRr.verified.txt index 1101fbf8e5..e6b2640b9f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2uTfcY6oRr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/2uTfcY6oRr.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3G0vZbWoKl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3G0vZbWoKl.verified.txt index a8131d2b74..cb056efbb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3G0vZbWoKl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3G0vZbWoKl.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3HolOeXE6X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3HolOeXE6X.verified.txt index eba0867cf1..1ef2d5b098 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3HolOeXE6X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3HolOeXE6X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3mBWDp16rd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3mBWDp16rd.verified.txt index f72a047d15..2a36fa4212 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3mBWDp16rd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3mBWDp16rd.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3oAabmt2UZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3oAabmt2UZ.verified.txt index 2290ab6d6e..a679545d3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3oAabmt2UZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/3oAabmt2UZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4B4V3nXRbi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4B4V3nXRbi.verified.txt index 67b68cd1ab..ec261b1ba4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4B4V3nXRbi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4B4V3nXRbi.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4WKuwCUGdK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4WKuwCUGdK.verified.txt index 8e8065d947..28b83f3eec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4WKuwCUGdK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4WKuwCUGdK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4qxtVFqAJk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4qxtVFqAJk.verified.txt index 5aad69492b..5395ef8c2b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4qxtVFqAJk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/4qxtVFqAJk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/58rLEsr70X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/58rLEsr70X.verified.txt index dd2de89c70..3b32715ee2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/58rLEsr70X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/58rLEsr70X.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5K5b1VcrOP.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5K5b1VcrOP.verified.txt index a8ea5f7ae7..a058aa3d9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5K5b1VcrOP.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5K5b1VcrOP.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5Q17yuMKm7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5Q17yuMKm7.verified.txt index 087e13e8b7..f209384d46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5Q17yuMKm7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5Q17yuMKm7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5nLb3uhXMT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5nLb3uhXMT.verified.txt index 7049250ef2..3fc82fc596 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5nLb3uhXMT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/5nLb3uhXMT.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6HeO7LLgVh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6HeO7LLgVh.verified.txt index 029e6f19b4..058ea62a89 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6HeO7LLgVh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6HeO7LLgVh.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6IDnvwmhCN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6IDnvwmhCN.verified.txt index a6bfac2c1b..13703de525 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6IDnvwmhCN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6IDnvwmhCN.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6RqxkujVrD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6RqxkujVrD.verified.txt index 4968fc8c94..bc6180ae55 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6RqxkujVrD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6RqxkujVrD.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6lXSbuIj9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6lXSbuIj9v.verified.txt index bfa83f50a4..2dae564d20 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6lXSbuIj9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6lXSbuIj9v.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6w1vPiY8I8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6w1vPiY8I8.verified.txt index 5cf086afc2..a3b276773d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6w1vPiY8I8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6w1vPiY8I8.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6xsKtx6pBG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6xsKtx6pBG.verified.txt index c0b754b006..ceee620022 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6xsKtx6pBG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/6xsKtx6pBG.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/7HwoUhfzjA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/7HwoUhfzjA.verified.txt index cd397e3a21..2779f31659 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/7HwoUhfzjA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/7HwoUhfzjA.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8243ZMXNu5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8243ZMXNu5.verified.txt index 4b1088968f..0f48a0698d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8243ZMXNu5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8243ZMXNu5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8NQVN4RqfT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8NQVN4RqfT.verified.txt index 96d1234fdd..ae84a52557 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8NQVN4RqfT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8NQVN4RqfT.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8u0sAu1Eqm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8u0sAu1Eqm.verified.txt index cb52350996..d1182ec404 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8u0sAu1Eqm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/8u0sAu1Eqm.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/90qAmH8XZh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/90qAmH8XZh.verified.txt index e2b103fa61..d2082bc4d8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/90qAmH8XZh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/90qAmH8XZh.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9JIAVifG4N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9JIAVifG4N.verified.txt index f26e56cf8b..f59df9c6fe 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9JIAVifG4N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9JIAVifG4N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9KzNVPKfyb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9KzNVPKfyb.verified.txt index e0966fb3f1..10f23b9278 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9KzNVPKfyb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9KzNVPKfyb.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9Y12quQzSn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9Y12quQzSn.verified.txt index d917a094f5..4928606dbc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9Y12quQzSn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/9Y12quQzSn.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/A3LDARdFrZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/A3LDARdFrZ.verified.txt index e1586e3b08..48b23938ba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/A3LDARdFrZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/A3LDARdFrZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AGUOBcbY4A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AGUOBcbY4A.verified.txt index 56ddc605b2..0ac8c83b5a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AGUOBcbY4A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AGUOBcbY4A.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AZTEicLUf8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AZTEicLUf8.verified.txt index 89b2afda92..05ac7e9e14 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AZTEicLUf8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/AZTEicLUf8.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/B6oAHeCpjv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/B6oAHeCpjv.verified.txt index 837338ee25..e0ad3ceece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/B6oAHeCpjv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/B6oAHeCpjv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BCDkkorwLD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BCDkkorwLD.verified.txt index 2fd700a724..41ad90bdd8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BCDkkorwLD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BCDkkorwLD.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BU0UUvzzuK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BU0UUvzzuK.verified.txt index ce84811336..25e1003e53 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BU0UUvzzuK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BU0UUvzzuK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BoUPxEqWpx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BoUPxEqWpx.verified.txt index e26630974c..30fe875995 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BoUPxEqWpx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/BoUPxEqWpx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Bw4RQ5cmww.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Bw4RQ5cmww.verified.txt index 64ddc1344c..402308a867 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Bw4RQ5cmww.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Bw4RQ5cmww.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CBLHvotK4Y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CBLHvotK4Y.verified.txt index 2bfaa0ebd0..4ba551b619 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CBLHvotK4Y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CBLHvotK4Y.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CIpk6HUes4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CIpk6HUes4.verified.txt index 7ae416850c..33451d3246 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CIpk6HUes4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CIpk6HUes4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CM6dqqGbT5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CM6dqqGbT5.verified.txt index 14b80f8845..3b0441774d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CM6dqqGbT5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CM6dqqGbT5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CQMHho7gsu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CQMHho7gsu.verified.txt index 2351421db2..e9487987be 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CQMHho7gsu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CQMHho7gsu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CRwevTxrKM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CRwevTxrKM.verified.txt index defdaec103..552a0d1460 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CRwevTxrKM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CRwevTxrKM.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ChSNzH0nQf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ChSNzH0nQf.verified.txt index 2c4da765ae..84ec9dd715 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ChSNzH0nQf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ChSNzH0nQf.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CljAURVTMy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CljAURVTMy.verified.txt index dc029afd0a..531301875b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CljAURVTMy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CljAURVTMy.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CrCmZ1rFQQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CrCmZ1rFQQ.verified.txt index 73fce92615..779c01a941 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CrCmZ1rFQQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/CrCmZ1rFQQ.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/D32fvJ2fXc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/D32fvJ2fXc.verified.txt index 9c7e86e326..53da4bafde 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/D32fvJ2fXc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/D32fvJ2fXc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DmVi2A1jh2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DmVi2A1jh2.verified.txt index 329c1d56c0..b8d48f693d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DmVi2A1jh2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DmVi2A1jh2.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DwiaPjLFwd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DwiaPjLFwd.verified.txt index 33d93b56e1..5302d40c0e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DwiaPjLFwd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/DwiaPjLFwd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EJHYFCuWsI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EJHYFCuWsI.verified.txt index dfee9d511d..bbca2c7e28 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EJHYFCuWsI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EJHYFCuWsI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EjHVFORRmC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EjHVFORRmC.verified.txt index dfe01bdb01..985a596b66 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EjHVFORRmC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/EjHVFORRmC.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/F2ETlJ3TUM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/F2ETlJ3TUM.verified.txt index 3d2c14f284..b09ae69191 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/F2ETlJ3TUM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/F2ETlJ3TUM.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/FaNpjhWJnp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/FaNpjhWJnp.verified.txt index b90ed63635..417392a6cb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/FaNpjhWJnp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/FaNpjhWJnp.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/G1iz87Qh9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/G1iz87Qh9v.verified.txt index 914b9459cd..de6635e0d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/G1iz87Qh9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/G1iz87Qh9v.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GAiFkQgtr9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GAiFkQgtr9.verified.txt index bacf4287f5..eac53ede7e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GAiFkQgtr9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GAiFkQgtr9.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GFR12F2PgU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GFR12F2PgU.verified.txt index ab6159329d..acbd7c517a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GFR12F2PgU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GFR12F2PgU.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GGYsXO7NgY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GGYsXO7NgY.verified.txt index 6bdb018acd..20f261dc41 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GGYsXO7NgY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GGYsXO7NgY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GNISh38TPA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GNISh38TPA.verified.txt index b072a622db..54916dc2f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GNISh38TPA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GNISh38TPA.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GbsChMfTbx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GbsChMfTbx.verified.txt index 2655f3a8e5..ed533fd7d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GbsChMfTbx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GbsChMfTbx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gh9VzxAfwQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gh9VzxAfwQ.verified.txt index f0906512cb..211ad74e09 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gh9VzxAfwQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gh9VzxAfwQ.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gneqedonte.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gneqedonte.verified.txt index f0d29d8028..117a2a3c56 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gneqedonte.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gneqedonte.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GqkxwENyM0.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GqkxwENyM0.verified.txt index 23f427b2c7..67c0cbcc31 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GqkxwENyM0.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/GqkxwENyM0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gr0OHLjXmU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gr0OHLjXmU.verified.txt index 0bcc3cd3b9..0c93a60a6f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gr0OHLjXmU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Gr0OHLjXmU.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HgenO1WVxu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HgenO1WVxu.verified.txt index de921e5bfb..bced803960 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HgenO1WVxu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HgenO1WVxu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HyJgcfbHDZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HyJgcfbHDZ.verified.txt index 5e075eef2a..fce8c12549 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HyJgcfbHDZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/HyJgcfbHDZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/I9QdnSKGsb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/I9QdnSKGsb.verified.txt index ef9d1a3ea2..b443aefc46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/I9QdnSKGsb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/I9QdnSKGsb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ILL19WnisW.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ILL19WnisW.verified.txt index a612e47c92..48c9185c95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ILL19WnisW.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ILL19WnisW.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IcUtLq2cFK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IcUtLq2cFK.verified.txt index 63b03503f4..7fc2054e57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IcUtLq2cFK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IcUtLq2cFK.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IgU7pSd2b3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IgU7pSd2b3.verified.txt index 3afa0452f5..fce6f19cc0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IgU7pSd2b3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/IgU7pSd2b3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/JKGj0F7zh9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/JKGj0F7zh9.verified.txt index 77f8036c1a..81bbb612fc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/JKGj0F7zh9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/JKGj0F7zh9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Jq9C6Uxpys.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Jq9C6Uxpys.verified.txt index 7dbd531a60..5ba6e1f638 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Jq9C6Uxpys.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Jq9C6Uxpys.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KIyW41F6r6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KIyW41F6r6.verified.txt index 9ddb5f8bd5..9f24483f0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KIyW41F6r6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KIyW41F6r6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KSbl2FesJc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KSbl2FesJc.verified.txt index c25d62ff82..4256c048ce 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KSbl2FesJc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KSbl2FesJc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KcixvfqGrv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KcixvfqGrv.verified.txt index 235f7b4273..5977c9d095 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KcixvfqGrv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KcixvfqGrv.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KxI2Xy8cPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KxI2Xy8cPS.verified.txt index 363c24f562..0989e031c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KxI2Xy8cPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/KxI2Xy8cPS.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LGZJJpm1uq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LGZJJpm1uq.verified.txt index 1832dba765..635ae8a111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LGZJJpm1uq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LGZJJpm1uq.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LJUqwkNpMv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LJUqwkNpMv.verified.txt index d39c16593e..ca20cfc08d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LJUqwkNpMv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/LJUqwkNpMv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/M4NqZwdXw7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/M4NqZwdXw7.verified.txt index 7231e045b6..0daa00da8b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/M4NqZwdXw7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/M4NqZwdXw7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/MY3XtRzu8x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/MY3XtRzu8x.verified.txt index 14ed885e1f..57f8fe1b92 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/MY3XtRzu8x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/MY3XtRzu8x.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NA3ZnOKVDG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NA3ZnOKVDG.verified.txt index d5e3627632..22bb241e40 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NA3ZnOKVDG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NA3ZnOKVDG.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NG5PKVM1i8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NG5PKVM1i8.verified.txt index eab463950e..06cadd2183 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NG5PKVM1i8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NG5PKVM1i8.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NGOTNmWxHE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NGOTNmWxHE.verified.txt index a106e68b0e..a714d77f03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NGOTNmWxHE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NGOTNmWxHE.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NWdbHdqTCk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NWdbHdqTCk.verified.txt index b90c64f95e..c30f8a68e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NWdbHdqTCk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/NWdbHdqTCk.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OGgQrxiJWS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OGgQrxiJWS.verified.txt index abfc88017c..29f4e9c5dd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OGgQrxiJWS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OGgQrxiJWS.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OpqpTR5Cfw.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OpqpTR5Cfw.verified.txt index d485b0594b..c5e3c9523a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OpqpTR5Cfw.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OpqpTR5Cfw.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Orfrz26F6p.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Orfrz26F6p.verified.txt index 8cb368634c..e28420042e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Orfrz26F6p.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Orfrz26F6p.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OvvLaH9ciz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OvvLaH9ciz.verified.txt index 9a99e14610..5d83e25491 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OvvLaH9ciz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/OvvLaH9ciz.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PXabnXFmkt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PXabnXFmkt.verified.txt index 5045dec16e..6f69fdd7fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PXabnXFmkt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PXabnXFmkt.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PvSh3xfKNr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PvSh3xfKNr.verified.txt index 9fbe1bc114..37f4339a4c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PvSh3xfKNr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/PvSh3xfKNr.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Pw9SxJyXzg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Pw9SxJyXzg.verified.txt index 86d989c1b1..0fadff4ef2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Pw9SxJyXzg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Pw9SxJyXzg.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q0Mq3bhsum.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q0Mq3bhsum.verified.txt index 6d2d381800..2e23d4aea3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q0Mq3bhsum.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q0Mq3bhsum.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q8OFEgFlen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q8OFEgFlen.verified.txt index eba6a814d7..0d0652dbdf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q8OFEgFlen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Q8OFEgFlen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QEUSa16DTz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QEUSa16DTz.verified.txt index ef651629fa..bdfd1a1231 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QEUSa16DTz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QEUSa16DTz.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QKQfFAiHK3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QKQfFAiHK3.verified.txt index b36adc0d8a..41b534b553 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QKQfFAiHK3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QKQfFAiHK3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QS5g7tNsec.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QS5g7tNsec.verified.txt index 9d2482bb58..fe410f46b6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QS5g7tNsec.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QS5g7tNsec.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QXgcj72buY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QXgcj72buY.verified.txt index 92d87f2b66..a8f2e88879 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QXgcj72buY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QXgcj72buY.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYiOTtsnlp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYiOTtsnlp.verified.txt index 678f5ab9ea..c7f7adf4e0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYiOTtsnlp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYiOTtsnlp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYpxxqI6dm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYpxxqI6dm.verified.txt index 57eab85a17..fa60644f69 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYpxxqI6dm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QYpxxqI6dm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QltroljHXp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QltroljHXp.verified.txt index 3475d2b4f2..4394a1d54c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QltroljHXp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/QltroljHXp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/R1tSxHqFWR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/R1tSxHqFWR.verified.txt index 842a9ef4df..d592164f32 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/R1tSxHqFWR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/R1tSxHqFWR.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RFydcSrrCY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RFydcSrrCY.verified.txt index 78850134d0..ba72efd876 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RFydcSrrCY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RFydcSrrCY.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RSvHJzWcVx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RSvHJzWcVx.verified.txt index 688706d09d..0cd710019c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RSvHJzWcVx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RSvHJzWcVx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RTVo1L1S2u.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RTVo1L1S2u.verified.txt index 2b823ae560..081f34e86e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RTVo1L1S2u.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/RTVo1L1S2u.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Rj61S1p4Cs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Rj61S1p4Cs.verified.txt index eb4a5ca291..6cdacab5ef 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Rj61S1p4Cs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Rj61S1p4Cs.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/S6kTKimLen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/S6kTKimLen.verified.txt index 6eb3f30669..2ad153ed5d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/S6kTKimLen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/S6kTKimLen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SEofJbUjIt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SEofJbUjIt.verified.txt index 27503eeb3f..8c3f41d9fa 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SEofJbUjIt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SEofJbUjIt.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SGXzWPLMoG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SGXzWPLMoG.verified.txt index 32cd6c3ed6..e0d974f495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SGXzWPLMoG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SGXzWPLMoG.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SKiA26rgZo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SKiA26rgZo.verified.txt index a8e35e1984..0704128e63 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SKiA26rgZo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SKiA26rgZo.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SaRnK4FOpb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SaRnK4FOpb.verified.txt index 583d4ae364..cc9c67e39a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SaRnK4FOpb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SaRnK4FOpb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SjBV0t0Bz5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SjBV0t0Bz5.verified.txt index 9f66c9e680..8d49104814 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SjBV0t0Bz5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SjBV0t0Bz5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SoTNs8IENd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SoTNs8IENd.verified.txt index 99b7fe9736..4d78220679 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SoTNs8IENd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/SoTNs8IENd.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/St5iPsOfp9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/St5iPsOfp9.verified.txt index 387fb3fcec..8c470135c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/St5iPsOfp9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/St5iPsOfp9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/T97m7kTtiO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/T97m7kTtiO.verified.txt index e3241690c9..d3cc60dece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/T97m7kTtiO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/T97m7kTtiO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TLejc0vivf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TLejc0vivf.verified.txt index 1316953f99..6e858869ec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TLejc0vivf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TLejc0vivf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Thad6nEDD5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Thad6nEDD5.verified.txt index f68d98ca45..6fd800d60c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Thad6nEDD5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Thad6nEDD5.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TxGznMqzl8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TxGznMqzl8.verified.txt index 2b1be8caaf..67e5c5fcdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TxGznMqzl8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/TxGznMqzl8.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UK13zlv5RG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UK13zlv5RG.verified.txt index 0aaf6ad04d..0081e98e95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UK13zlv5RG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UK13zlv5RG.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UMDF9cNbZt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UMDF9cNbZt.verified.txt index 5ab1a1c57c..7218eb41e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UMDF9cNbZt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UMDF9cNbZt.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UY4TVAzonK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UY4TVAzonK.verified.txt index 0110349e39..966fdb2bb3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UY4TVAzonK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/UY4TVAzonK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Uhx1npmK9K.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Uhx1npmK9K.verified.txt index 9c6e40f827..bfb4e4c45d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Uhx1npmK9K.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Uhx1npmK9K.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/V4MmKA6xMl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/V4MmKA6xMl.verified.txt index e7354430e3..ce30c89fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/V4MmKA6xMl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/V4MmKA6xMl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VaeumdU1ie.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VaeumdU1ie.verified.txt index 7f6ee8dc67..dcc3515813 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VaeumdU1ie.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VaeumdU1ie.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VvAJ9zwTgL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VvAJ9zwTgL.verified.txt index 3ea48d00ae..e5b924b83a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VvAJ9zwTgL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/VvAJ9zwTgL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/W9Iz8LDSU6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/W9Iz8LDSU6.verified.txt index 7f013258d7..e7f7948111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/W9Iz8LDSU6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/W9Iz8LDSU6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WEmd7N8AWm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WEmd7N8AWm.verified.txt index 2b2c0816ba..3711ee30d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WEmd7N8AWm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WEmd7N8AWm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WHpY18dDBC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WHpY18dDBC.verified.txt index 220e6aa8f7..a66a4c33fd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WHpY18dDBC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WHpY18dDBC.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WMVLzBfTuM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WMVLzBfTuM.verified.txt index c1a3c38115..a88ce952fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WMVLzBfTuM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WMVLzBfTuM.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WRw2ROnY9A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WRw2ROnY9A.verified.txt index 95fdb8ed7b..dfa41598cc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WRw2ROnY9A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WRw2ROnY9A.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WhPLsKKG2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WhPLsKKG2Q.verified.txt index f235f4a436..80d0669fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WhPLsKKG2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WhPLsKKG2Q.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WzWV0pZmd4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WzWV0pZmd4.verified.txt index dc4bf252cb..8f62c197bf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WzWV0pZmd4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/WzWV0pZmd4.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XdmgypPx1z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XdmgypPx1z.verified.txt index 7f2c192613..f49a3b2e1d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XdmgypPx1z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XdmgypPx1z.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XrmNw9ZJJ4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XrmNw9ZJJ4.verified.txt index 5758f36ef1..7bc4f89dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XrmNw9ZJJ4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/XrmNw9ZJJ4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Y2FIAvdeJd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Y2FIAvdeJd.verified.txt index 64c8ccd04c..7b9d3e2242 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Y2FIAvdeJd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/Y2FIAvdeJd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YLETiC8egS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YLETiC8egS.verified.txt index f1d6698ea8..b462086d75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YLETiC8egS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YLETiC8egS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YQ4C8lGTTp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YQ4C8lGTTp.verified.txt index ccdcd4cddc..a5e5f5125f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YQ4C8lGTTp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YQ4C8lGTTp.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YmajZMirSq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YmajZMirSq.verified.txt index f1fdbbe892..55b13f35ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YmajZMirSq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YmajZMirSq.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YsTXLEcU9e.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YsTXLEcU9e.verified.txt index 660358764a..178340d530 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YsTXLEcU9e.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/YsTXLEcU9e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ZeQaA7MiO7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ZeQaA7MiO7.verified.txt index 47f53ff5bf..bf15eb6b57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ZeQaA7MiO7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ZeQaA7MiO7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a5oBj4NMck.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a5oBj4NMck.verified.txt index a697208740..7da5fa398f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a5oBj4NMck.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a5oBj4NMck.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a9ZatkB5Rh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a9ZatkB5Rh.verified.txt index 8834023188..dbf3b3cc9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a9ZatkB5Rh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/a9ZatkB5Rh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/adj4aYHt0N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/adj4aYHt0N.verified.txt index 693b2fc73f..1dfdd7a723 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/adj4aYHt0N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/adj4aYHt0N.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/azYqyDbI89.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/azYqyDbI89.verified.txt index 0cd8289407..3c426fff50 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/azYqyDbI89.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/azYqyDbI89.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bXddhCA2bk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bXddhCA2bk.verified.txt index d65919c2c3..8ad7ecf03c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bXddhCA2bk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bXddhCA2bk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bbZ1hzo62z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bbZ1hzo62z.verified.txt index 1d374fc031..252e60bc96 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bbZ1hzo62z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bbZ1hzo62z.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bkRaWa4KBI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bkRaWa4KBI.verified.txt index 30ae72bec4..ddd83f655d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bkRaWa4KBI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/bkRaWa4KBI.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ce82vTL7WE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ce82vTL7WE.verified.txt index 88ff0be27b..ce264e0bf3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ce82vTL7WE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ce82vTL7WE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/cgyb3Z1MNu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/cgyb3Z1MNu.verified.txt index 156c16f658..23240499b8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/cgyb3Z1MNu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/cgyb3Z1MNu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dAgWjdgDUL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dAgWjdgDUL.verified.txt index bf085aafd7..ed9afda125 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dAgWjdgDUL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dAgWjdgDUL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dTLky56KCx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dTLky56KCx.verified.txt index f1a599b50a..67c5aba4b3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dTLky56KCx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dTLky56KCx.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dctvtQKUed.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dctvtQKUed.verified.txt index bb6aaf9136..aac0950fe8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dctvtQKUed.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/dctvtQKUed.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/eGknqt2HLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/eGknqt2HLN.verified.txt index fbaab54323..549e52bb93 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/eGknqt2HLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/eGknqt2HLN.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/evEmsereRx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/evEmsereRx.verified.txt index f969c33e63..b2f312bf9c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/evEmsereRx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/evEmsereRx.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f33sdUZvTD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f33sdUZvTD.verified.txt index b71da26573..1fb452d025 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f33sdUZvTD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f33sdUZvTD.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f8GfgtBpEy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f8GfgtBpEy.verified.txt index ae2ce35ce0..99c0c9aeba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f8GfgtBpEy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/f8GfgtBpEy.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fBsIsd9NEC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fBsIsd9NEC.verified.txt index 9eab07a003..e9fe23e17d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fBsIsd9NEC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fBsIsd9NEC.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fe1G3hjBI7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fe1G3hjBI7.verified.txt index 901c59cd66..8f3dc03f62 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fe1G3hjBI7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fe1G3hjBI7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fiHEMJtEsE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fiHEMJtEsE.verified.txt index 4cea925d39..eff3ffeda4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fiHEMJtEsE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/fiHEMJtEsE.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ftvGXa4dWE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ftvGXa4dWE.verified.txt index 014a926d60..4b81a49539 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ftvGXa4dWE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ftvGXa4dWE.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ga0wMsAonO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ga0wMsAonO.verified.txt index bab0164bcb..1aa418551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ga0wMsAonO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ga0wMsAonO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/gkp9EIvkaa.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/gkp9EIvkaa.verified.txt index 293655b4ee..7d2c01a348 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/gkp9EIvkaa.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/gkp9EIvkaa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hFwcREtVxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hFwcREtVxI.verified.txt index 9659f1d4f5..408875873a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hFwcREtVxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hFwcREtVxI.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hjyaHa29Jz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hjyaHa29Jz.verified.txt index 5cfb670234..4055062f19 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hjyaHa29Jz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/hjyaHa29Jz.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/i1n2cAvbLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/i1n2cAvbLN.verified.txt index 628dcc4abd..00f262748e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/i1n2cAvbLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/i1n2cAvbLN.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iHYaBR6vwE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iHYaBR6vwE.verified.txt index 0d6ebf1f55..a0ab806fa1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iHYaBR6vwE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iHYaBR6vwE.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iS1nna8CAC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iS1nna8CAC.verified.txt index 749746865f..c57a4accdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iS1nna8CAC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/iS1nna8CAC.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ilzLRsLJfo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ilzLRsLJfo.verified.txt index 93cf369636..9792f9bc01 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ilzLRsLJfo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ilzLRsLJfo.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/jLSQYXoUZ7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/jLSQYXoUZ7.verified.txt index 4143cedbe9..a204a9ee0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/jLSQYXoUZ7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/jLSQYXoUZ7.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ja7E8gtQYK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ja7E8gtQYK.verified.txt index 8b38121a59..bc48e9cf75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ja7E8gtQYK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ja7E8gtQYK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ji3RViDCgB.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ji3RViDCgB.verified.txt index 266e7cf693..f170883b3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ji3RViDCgB.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ji3RViDCgB.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/k1zq0pGwsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/k1zq0pGwsL.verified.txt index 75ed9f04e0..e552118032 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/k1zq0pGwsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/k1zq0pGwsL.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/kPeQkL6w72.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/kPeQkL6w72.verified.txt index 861c0c8c6b..d6637afeb1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/kPeQkL6w72.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/kPeQkL6w72.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l1jw2uJGZg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l1jw2uJGZg.verified.txt index a02810f3bc..fcbba1936c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l1jw2uJGZg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l1jw2uJGZg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l4e6XelAgq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l4e6XelAgq.verified.txt index 58ccc9d20e..b483c87834 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l4e6XelAgq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/l4e6XelAgq.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lDSTWX4oqG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lDSTWX4oqG.verified.txt index 77ba1da6ae..f8eff78f4f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lDSTWX4oqG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lDSTWX4oqG.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lE9ybfWQrn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lE9ybfWQrn.verified.txt index d886645238..6f06324d51 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lE9ybfWQrn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lE9ybfWQrn.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lLir8SMe7M.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lLir8SMe7M.verified.txt index ec2d808249..4eda9c5523 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lLir8SMe7M.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lLir8SMe7M.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lQc2P8tXnM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lQc2P8tXnM.verified.txt index 62f57980cd..f2693c0571 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lQc2P8tXnM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lQc2P8tXnM.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lxjsvrr5pZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lxjsvrr5pZ.verified.txt index 1d130c57da..550e5f255e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lxjsvrr5pZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/lxjsvrr5pZ.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mD8MIMFKXL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mD8MIMFKXL.verified.txt index 4a409d4768..1611b1837d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mD8MIMFKXL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mD8MIMFKXL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mEk9VnsQLA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mEk9VnsQLA.verified.txt index 55ea4316fb..c54868169d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mEk9VnsQLA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mEk9VnsQLA.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mOEBZdBIAJ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mOEBZdBIAJ.verified.txt index ecd3080420..d6404a5dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mOEBZdBIAJ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/mOEBZdBIAJ.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/n3FTCPtxrx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/n3FTCPtxrx.verified.txt index e91e69d996..c35ec2fb72 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/n3FTCPtxrx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/n3FTCPtxrx.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/nweFjpXFsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/nweFjpXFsL.verified.txt index 1f020b1a88..9bc0fe40bb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/nweFjpXFsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/nweFjpXFsL.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/o2otLTg8Vl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/o2otLTg8Vl.verified.txt index 92717e1176..a0db89306a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/o2otLTg8Vl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/o2otLTg8Vl.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/oQTi0amgPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/oQTi0amgPS.verified.txt index b6eacd384a..b2ae18e888 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/oQTi0amgPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/oQTi0amgPS.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ob9wFUFWgV.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ob9wFUFWgV.verified.txt index 42b197eac6..e131ccdfa7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ob9wFUFWgV.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ob9wFUFWgV.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ogC3zFKxHT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ogC3zFKxHT.verified.txt index eee1d6ea07..eae27f2af8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ogC3zFKxHT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ogC3zFKxHT.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/olJhMnzuPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/olJhMnzuPz.verified.txt index 943451a058..1be9ad322b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/olJhMnzuPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/olJhMnzuPz.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ono9JkTnAN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ono9JkTnAN.verified.txt index 5207f678c1..32053bdfc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ono9JkTnAN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/ono9JkTnAN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pZUfYns8zh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pZUfYns8zh.verified.txt index cc262b473d..8629b46f48 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pZUfYns8zh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pZUfYns8zh.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pjuiUy9p39.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pjuiUy9p39.verified.txt index c57af0cf9f..2860fb1fb7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pjuiUy9p39.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/pjuiUy9p39.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/puxvvYTSLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/puxvvYTSLO.verified.txt index 1bc0b1283e..99d9f567f6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/puxvvYTSLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/puxvvYTSLO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFU7Z1nijR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFU7Z1nijR.verified.txt index 500f65bd28..8c27e4a186 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFU7Z1nijR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFU7Z1nijR.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFoSkj7T13.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFoSkj7T13.verified.txt index 0186cdc28f..519db7eb3b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFoSkj7T13.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qFoSkj7T13.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qJTnnQqF2F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qJTnnQqF2F.verified.txt index cb828ce564..d6d7835250 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qJTnnQqF2F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qJTnnQqF2F.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qKD0Cb8gIA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qKD0Cb8gIA.verified.txt index ba10f0897b..afc7b37bee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qKD0Cb8gIA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qKD0Cb8gIA.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qLOlAXYfVi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qLOlAXYfVi.verified.txt index bac97c3289..44ceb32495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qLOlAXYfVi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qLOlAXYfVi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qRU3nCwt2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qRU3nCwt2Q.verified.txt index 2776a26004..e5ca0244cd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qRU3nCwt2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/qRU3nCwt2Q.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rWqAPGZL5x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rWqAPGZL5x.verified.txt index bbe48d64dc..d264790b3d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rWqAPGZL5x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rWqAPGZL5x.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/reeO7MFnmp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/reeO7MFnmp.verified.txt index 261c182ba5..82d3be0353 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/reeO7MFnmp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/reeO7MFnmp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rjKVwCkFkr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rjKVwCkFkr.verified.txt index 1a241484d6..277f5b271c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rjKVwCkFkr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rjKVwCkFkr.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rkBgJGfViS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rkBgJGfViS.verified.txt index b57383aee3..0facb64982 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rkBgJGfViS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/rkBgJGfViS.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sDmT7Ipq8w.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sDmT7Ipq8w.verified.txt index 70bae0a291..43246752f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sDmT7Ipq8w.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sDmT7Ipq8w.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sNBhPvC0ZD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sNBhPvC0ZD.verified.txt index 71d39498d7..3a3ee5b18d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sNBhPvC0ZD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sNBhPvC0ZD.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/saA0rCxOId.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/saA0rCxOId.verified.txt index 0fbe48bd3d..05f07b7f18 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/saA0rCxOId.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/saA0rCxOId.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sqUxc6SwA4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sqUxc6SwA4.verified.txt index dbb291aabd..b951642594 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sqUxc6SwA4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/sqUxc6SwA4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tZxLYsMc7s.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tZxLYsMc7s.verified.txt index cc07c73ea7..c806997f25 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tZxLYsMc7s.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tZxLYsMc7s.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/taNk0UiCPi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/taNk0UiCPi.verified.txt index d8275a7113..a90d420cdb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/taNk0UiCPi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/taNk0UiCPi.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tep4bS6Kf1.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tep4bS6Kf1.verified.txt index c2766fa09b..55786bc135 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tep4bS6Kf1.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tep4bS6Kf1.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/thnPc0KPMs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/thnPc0KPMs.verified.txt index fd678fdc5b..497d0369f2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/thnPc0KPMs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/thnPc0KPMs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tiGNpHQWuQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tiGNpHQWuQ.verified.txt index b0e60072f6..c7af138342 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tiGNpHQWuQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/tiGNpHQWuQ.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKnQqNmYCb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKnQqNmYCb.verified.txt index d13e732ca4..8274adb2ee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKnQqNmYCb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKnQqNmYCb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKxa9dnwxN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKxa9dnwxN.verified.txt index c6e93f1c87..8b505e2164 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKxa9dnwxN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/uKxa9dnwxN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/v1Rhgo3OFM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/v1Rhgo3OFM.verified.txt index 1c80785fe1..992a2e8e6d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/v1Rhgo3OFM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/v1Rhgo3OFM.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vFikwMxO6k.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vFikwMxO6k.verified.txt index 70a7bbab64..e9f7eba2ac 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vFikwMxO6k.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vFikwMxO6k.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vjSFj06YzO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vjSFj06YzO.verified.txt index e80e0c136f..72590244ad 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vjSFj06YzO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vjSFj06YzO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vzFNnv2Src.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vzFNnv2Src.verified.txt index aae3077bbf..88e0824af7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vzFNnv2Src.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/vzFNnv2Src.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/w7Te0wz04x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/w7Te0wz04x.verified.txt index 09808cd85c..b93c91ba54 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/w7Te0wz04x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/w7Te0wz04x.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/whzkVog54E.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/whzkVog54E.verified.txt index 888001706c..1ed2ade071 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/whzkVog54E.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/whzkVog54E.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/wsGKCM8fa3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/wsGKCM8fa3.verified.txt index 22053567bc..fc0f7dea70 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/wsGKCM8fa3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/wsGKCM8fa3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xAdDoA2n0F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xAdDoA2n0F.verified.txt index a7aa592f0e..9abdbc3ff9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xAdDoA2n0F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xAdDoA2n0F.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xK8UDd7XMx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xK8UDd7XMx.verified.txt index 51c914b2a4..90b6bbd5d1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xK8UDd7XMx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xK8UDd7XMx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xNrbVapWwv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xNrbVapWwv.verified.txt index f4b9802178..b01f0be1c1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xNrbVapWwv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xNrbVapWwv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xdivY90KyF.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xdivY90KyF.verified.txt index f41915f462..a5d1ca3fc7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xdivY90KyF.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xdivY90KyF.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xrqw8zdbit.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xrqw8zdbit.verified.txt index b959533fd5..685d0e1901 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xrqw8zdbit.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xrqw8zdbit.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xtJmjxTvLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xtJmjxTvLO.verified.txt index 5bb72b4f22..00cb61aa43 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xtJmjxTvLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/xtJmjxTvLO.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z5GMR6FT65.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z5GMR6FT65.verified.txt index 074240740f..17c7afad15 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z5GMR6FT65.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z5GMR6FT65.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z9IRzE0Kf5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z9IRzE0Kf5.verified.txt index 8fb7f54df1..bb7941dd79 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z9IRzE0Kf5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/z9IRzE0Kf5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zIETLgBv7L.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zIETLgBv7L.verified.txt index dcbeb183ac..1bd04f47ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zIETLgBv7L.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zIETLgBv7L.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zLA7TqTKPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zLA7TqTKPz.verified.txt index 4ee753e7d6..f7a9f598c7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zLA7TqTKPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zLA7TqTKPz.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zdGbJHTnbv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zdGbJHTnbv.verified.txt index bd831721a2..331584a1e6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zdGbJHTnbv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zdGbJHTnbv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zh3XlzyPIq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zh3XlzyPIq.verified.txt index e11ef5cf59..9a0a2d05c8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zh3XlzyPIq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zh3XlzyPIq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zxcjLWzZLy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zxcjLWzZLy.verified.txt index 2fb4ef0a6e..85c775fcb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zxcjLWzZLy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-fr/zxcjLWzZLy.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0pnsI1bxxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0pnsI1bxxI.verified.txt index 9c66d950f9..d7391da00a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0pnsI1bxxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0pnsI1bxxI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0tPklTLL8f.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0tPklTLL8f.verified.txt index 7eaf7d8000..dcda2e4f6b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0tPklTLL8f.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/0tPklTLL8f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/11k4c6CGtU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/11k4c6CGtU.verified.txt index fad59e0dfb..660ffb947c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/11k4c6CGtU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/11k4c6CGtU.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/18luqBmqNm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/18luqBmqNm.verified.txt index 8da2bae958..7fb3502001 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/18luqBmqNm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/18luqBmqNm.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1h0XbQEjc6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1h0XbQEjc6.verified.txt index 4f53ad0d8f..3e6c94551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1h0XbQEjc6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1h0XbQEjc6.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1nooLrDZvg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1nooLrDZvg.verified.txt index 69d955f615..8dff5fd55f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1nooLrDZvg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/1nooLrDZvg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/22b5GFPsJy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/22b5GFPsJy.verified.txt index 3fc6472c9d..aa6390a304 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/22b5GFPsJy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/22b5GFPsJy.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/25cFSQsgYv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/25cFSQsgYv.verified.txt index 996765a1f8..dc359faff1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/25cFSQsgYv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/25cFSQsgYv.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2FJcSOSpS2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2FJcSOSpS2.verified.txt index 2099815fcc..8ba229cb03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2FJcSOSpS2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2FJcSOSpS2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2GQW6JDMp3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2GQW6JDMp3.verified.txt index f3e64ae5c8..7e8b999583 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2GQW6JDMp3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2GQW6JDMp3.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2h4RxJmd8y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2h4RxJmd8y.verified.txt index 9866991fe7..eb395c5477 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2h4RxJmd8y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2h4RxJmd8y.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2uTfcY6oRr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2uTfcY6oRr.verified.txt index 1101fbf8e5..e6b2640b9f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2uTfcY6oRr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/2uTfcY6oRr.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3G0vZbWoKl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3G0vZbWoKl.verified.txt index a8131d2b74..cb056efbb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3G0vZbWoKl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3G0vZbWoKl.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3HolOeXE6X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3HolOeXE6X.verified.txt index eba0867cf1..1ef2d5b098 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3HolOeXE6X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3HolOeXE6X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3mBWDp16rd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3mBWDp16rd.verified.txt index f72a047d15..2a36fa4212 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3mBWDp16rd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3mBWDp16rd.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3oAabmt2UZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3oAabmt2UZ.verified.txt index 2290ab6d6e..a679545d3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3oAabmt2UZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/3oAabmt2UZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4B4V3nXRbi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4B4V3nXRbi.verified.txt index 67b68cd1ab..ec261b1ba4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4B4V3nXRbi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4B4V3nXRbi.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4WKuwCUGdK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4WKuwCUGdK.verified.txt index 8e8065d947..28b83f3eec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4WKuwCUGdK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4WKuwCUGdK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4qxtVFqAJk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4qxtVFqAJk.verified.txt index 5aad69492b..5395ef8c2b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4qxtVFqAJk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/4qxtVFqAJk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/58rLEsr70X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/58rLEsr70X.verified.txt index dd2de89c70..3b32715ee2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/58rLEsr70X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/58rLEsr70X.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5K5b1VcrOP.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5K5b1VcrOP.verified.txt index a8ea5f7ae7..a058aa3d9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5K5b1VcrOP.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5K5b1VcrOP.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5Q17yuMKm7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5Q17yuMKm7.verified.txt index 087e13e8b7..f209384d46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5Q17yuMKm7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5Q17yuMKm7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5nLb3uhXMT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5nLb3uhXMT.verified.txt index 7049250ef2..3fc82fc596 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5nLb3uhXMT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/5nLb3uhXMT.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6HeO7LLgVh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6HeO7LLgVh.verified.txt index 029e6f19b4..058ea62a89 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6HeO7LLgVh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6HeO7LLgVh.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6IDnvwmhCN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6IDnvwmhCN.verified.txt index a6bfac2c1b..13703de525 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6IDnvwmhCN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6IDnvwmhCN.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6RqxkujVrD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6RqxkujVrD.verified.txt index 4968fc8c94..bc6180ae55 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6RqxkujVrD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6RqxkujVrD.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6lXSbuIj9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6lXSbuIj9v.verified.txt index bfa83f50a4..2dae564d20 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6lXSbuIj9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6lXSbuIj9v.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6w1vPiY8I8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6w1vPiY8I8.verified.txt index 5cf086afc2..a3b276773d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6w1vPiY8I8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6w1vPiY8I8.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6xsKtx6pBG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6xsKtx6pBG.verified.txt index c0b754b006..ceee620022 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6xsKtx6pBG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/6xsKtx6pBG.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/7HwoUhfzjA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/7HwoUhfzjA.verified.txt index cd397e3a21..2779f31659 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/7HwoUhfzjA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/7HwoUhfzjA.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8243ZMXNu5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8243ZMXNu5.verified.txt index 4b1088968f..0f48a0698d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8243ZMXNu5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8243ZMXNu5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8NQVN4RqfT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8NQVN4RqfT.verified.txt index 96d1234fdd..ae84a52557 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8NQVN4RqfT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8NQVN4RqfT.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8u0sAu1Eqm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8u0sAu1Eqm.verified.txt index cb52350996..d1182ec404 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8u0sAu1Eqm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/8u0sAu1Eqm.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/90qAmH8XZh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/90qAmH8XZh.verified.txt index e2b103fa61..d2082bc4d8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/90qAmH8XZh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/90qAmH8XZh.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9JIAVifG4N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9JIAVifG4N.verified.txt index f26e56cf8b..f59df9c6fe 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9JIAVifG4N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9JIAVifG4N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9KzNVPKfyb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9KzNVPKfyb.verified.txt index e0966fb3f1..10f23b9278 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9KzNVPKfyb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9KzNVPKfyb.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9Y12quQzSn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9Y12quQzSn.verified.txt index d917a094f5..4928606dbc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9Y12quQzSn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/9Y12quQzSn.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/A3LDARdFrZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/A3LDARdFrZ.verified.txt index e1586e3b08..48b23938ba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/A3LDARdFrZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/A3LDARdFrZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AGUOBcbY4A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AGUOBcbY4A.verified.txt index 56ddc605b2..0ac8c83b5a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AGUOBcbY4A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AGUOBcbY4A.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AZTEicLUf8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AZTEicLUf8.verified.txt index 89b2afda92..05ac7e9e14 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AZTEicLUf8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/AZTEicLUf8.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/B6oAHeCpjv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/B6oAHeCpjv.verified.txt index 837338ee25..e0ad3ceece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/B6oAHeCpjv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/B6oAHeCpjv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BCDkkorwLD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BCDkkorwLD.verified.txt index 2fd700a724..41ad90bdd8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BCDkkorwLD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BCDkkorwLD.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BU0UUvzzuK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BU0UUvzzuK.verified.txt index ce84811336..25e1003e53 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BU0UUvzzuK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BU0UUvzzuK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BoUPxEqWpx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BoUPxEqWpx.verified.txt index e26630974c..30fe875995 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BoUPxEqWpx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/BoUPxEqWpx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Bw4RQ5cmww.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Bw4RQ5cmww.verified.txt index 64ddc1344c..402308a867 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Bw4RQ5cmww.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Bw4RQ5cmww.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CBLHvotK4Y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CBLHvotK4Y.verified.txt index 2bfaa0ebd0..4ba551b619 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CBLHvotK4Y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CBLHvotK4Y.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CIpk6HUes4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CIpk6HUes4.verified.txt index 7ae416850c..33451d3246 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CIpk6HUes4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CIpk6HUes4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CM6dqqGbT5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CM6dqqGbT5.verified.txt index 14b80f8845..3b0441774d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CM6dqqGbT5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CM6dqqGbT5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CQMHho7gsu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CQMHho7gsu.verified.txt index 2351421db2..e9487987be 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CQMHho7gsu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CQMHho7gsu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CRwevTxrKM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CRwevTxrKM.verified.txt index defdaec103..552a0d1460 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CRwevTxrKM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CRwevTxrKM.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ChSNzH0nQf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ChSNzH0nQf.verified.txt index 2c4da765ae..84ec9dd715 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ChSNzH0nQf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ChSNzH0nQf.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CljAURVTMy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CljAURVTMy.verified.txt index dc029afd0a..531301875b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CljAURVTMy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CljAURVTMy.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CrCmZ1rFQQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CrCmZ1rFQQ.verified.txt index 73fce92615..779c01a941 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CrCmZ1rFQQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/CrCmZ1rFQQ.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/D32fvJ2fXc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/D32fvJ2fXc.verified.txt index 9c7e86e326..53da4bafde 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/D32fvJ2fXc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/D32fvJ2fXc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DmVi2A1jh2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DmVi2A1jh2.verified.txt index 329c1d56c0..b8d48f693d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DmVi2A1jh2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DmVi2A1jh2.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DwiaPjLFwd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DwiaPjLFwd.verified.txt index 33d93b56e1..5302d40c0e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DwiaPjLFwd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/DwiaPjLFwd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EJHYFCuWsI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EJHYFCuWsI.verified.txt index dfee9d511d..bbca2c7e28 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EJHYFCuWsI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EJHYFCuWsI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EjHVFORRmC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EjHVFORRmC.verified.txt index dfe01bdb01..985a596b66 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EjHVFORRmC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/EjHVFORRmC.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/F2ETlJ3TUM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/F2ETlJ3TUM.verified.txt index 3d2c14f284..b09ae69191 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/F2ETlJ3TUM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/F2ETlJ3TUM.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/FaNpjhWJnp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/FaNpjhWJnp.verified.txt index b90ed63635..417392a6cb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/FaNpjhWJnp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/FaNpjhWJnp.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/G1iz87Qh9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/G1iz87Qh9v.verified.txt index 914b9459cd..de6635e0d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/G1iz87Qh9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/G1iz87Qh9v.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GAiFkQgtr9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GAiFkQgtr9.verified.txt index bacf4287f5..eac53ede7e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GAiFkQgtr9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GAiFkQgtr9.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GFR12F2PgU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GFR12F2PgU.verified.txt index ab6159329d..acbd7c517a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GFR12F2PgU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GFR12F2PgU.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GGYsXO7NgY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GGYsXO7NgY.verified.txt index 6bdb018acd..20f261dc41 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GGYsXO7NgY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GGYsXO7NgY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GNISh38TPA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GNISh38TPA.verified.txt index b072a622db..54916dc2f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GNISh38TPA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GNISh38TPA.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GbsChMfTbx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GbsChMfTbx.verified.txt index 2655f3a8e5..ed533fd7d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GbsChMfTbx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GbsChMfTbx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gh9VzxAfwQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gh9VzxAfwQ.verified.txt index f0906512cb..211ad74e09 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gh9VzxAfwQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gh9VzxAfwQ.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gneqedonte.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gneqedonte.verified.txt index f0d29d8028..117a2a3c56 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gneqedonte.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gneqedonte.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GqkxwENyM0.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GqkxwENyM0.verified.txt index 23f427b2c7..67c0cbcc31 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GqkxwENyM0.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/GqkxwENyM0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gr0OHLjXmU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gr0OHLjXmU.verified.txt index 0bcc3cd3b9..0c93a60a6f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gr0OHLjXmU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Gr0OHLjXmU.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HgenO1WVxu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HgenO1WVxu.verified.txt index de921e5bfb..bced803960 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HgenO1WVxu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HgenO1WVxu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HyJgcfbHDZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HyJgcfbHDZ.verified.txt index 5e075eef2a..fce8c12549 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HyJgcfbHDZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/HyJgcfbHDZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/I9QdnSKGsb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/I9QdnSKGsb.verified.txt index ef9d1a3ea2..b443aefc46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/I9QdnSKGsb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/I9QdnSKGsb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ILL19WnisW.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ILL19WnisW.verified.txt index a612e47c92..48c9185c95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ILL19WnisW.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ILL19WnisW.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IcUtLq2cFK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IcUtLq2cFK.verified.txt index 63b03503f4..7fc2054e57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IcUtLq2cFK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IcUtLq2cFK.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IgU7pSd2b3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IgU7pSd2b3.verified.txt index 3afa0452f5..fce6f19cc0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IgU7pSd2b3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/IgU7pSd2b3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/JKGj0F7zh9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/JKGj0F7zh9.verified.txt index 77f8036c1a..81bbb612fc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/JKGj0F7zh9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/JKGj0F7zh9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Jq9C6Uxpys.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Jq9C6Uxpys.verified.txt index 7dbd531a60..5ba6e1f638 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Jq9C6Uxpys.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Jq9C6Uxpys.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KIyW41F6r6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KIyW41F6r6.verified.txt index 9ddb5f8bd5..9f24483f0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KIyW41F6r6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KIyW41F6r6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KSbl2FesJc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KSbl2FesJc.verified.txt index c25d62ff82..4256c048ce 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KSbl2FesJc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KSbl2FesJc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KcixvfqGrv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KcixvfqGrv.verified.txt index 235f7b4273..5977c9d095 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KcixvfqGrv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KcixvfqGrv.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KxI2Xy8cPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KxI2Xy8cPS.verified.txt index 363c24f562..0989e031c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KxI2Xy8cPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/KxI2Xy8cPS.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LGZJJpm1uq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LGZJJpm1uq.verified.txt index 1832dba765..635ae8a111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LGZJJpm1uq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LGZJJpm1uq.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LJUqwkNpMv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LJUqwkNpMv.verified.txt index d39c16593e..ca20cfc08d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LJUqwkNpMv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/LJUqwkNpMv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/M4NqZwdXw7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/M4NqZwdXw7.verified.txt index 7231e045b6..0daa00da8b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/M4NqZwdXw7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/M4NqZwdXw7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/MY3XtRzu8x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/MY3XtRzu8x.verified.txt index 14ed885e1f..57f8fe1b92 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/MY3XtRzu8x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/MY3XtRzu8x.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NA3ZnOKVDG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NA3ZnOKVDG.verified.txt index d5e3627632..22bb241e40 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NA3ZnOKVDG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NA3ZnOKVDG.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NG5PKVM1i8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NG5PKVM1i8.verified.txt index eab463950e..06cadd2183 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NG5PKVM1i8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NG5PKVM1i8.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NGOTNmWxHE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NGOTNmWxHE.verified.txt index a106e68b0e..a714d77f03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NGOTNmWxHE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NGOTNmWxHE.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NWdbHdqTCk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NWdbHdqTCk.verified.txt index b90c64f95e..c30f8a68e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NWdbHdqTCk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/NWdbHdqTCk.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OGgQrxiJWS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OGgQrxiJWS.verified.txt index abfc88017c..29f4e9c5dd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OGgQrxiJWS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OGgQrxiJWS.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OpqpTR5Cfw.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OpqpTR5Cfw.verified.txt index d485b0594b..c5e3c9523a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OpqpTR5Cfw.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OpqpTR5Cfw.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Orfrz26F6p.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Orfrz26F6p.verified.txt index 8cb368634c..e28420042e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Orfrz26F6p.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Orfrz26F6p.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OvvLaH9ciz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OvvLaH9ciz.verified.txt index 9a99e14610..5d83e25491 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OvvLaH9ciz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/OvvLaH9ciz.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PXabnXFmkt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PXabnXFmkt.verified.txt index 5045dec16e..6f69fdd7fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PXabnXFmkt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PXabnXFmkt.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PvSh3xfKNr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PvSh3xfKNr.verified.txt index 9fbe1bc114..37f4339a4c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PvSh3xfKNr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/PvSh3xfKNr.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Pw9SxJyXzg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Pw9SxJyXzg.verified.txt index 86d989c1b1..0fadff4ef2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Pw9SxJyXzg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Pw9SxJyXzg.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q0Mq3bhsum.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q0Mq3bhsum.verified.txt index 6d2d381800..2e23d4aea3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q0Mq3bhsum.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q0Mq3bhsum.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q8OFEgFlen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q8OFEgFlen.verified.txt index eba6a814d7..0d0652dbdf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q8OFEgFlen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Q8OFEgFlen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QEUSa16DTz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QEUSa16DTz.verified.txt index ef651629fa..bdfd1a1231 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QEUSa16DTz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QEUSa16DTz.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QKQfFAiHK3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QKQfFAiHK3.verified.txt index b36adc0d8a..41b534b553 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QKQfFAiHK3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QKQfFAiHK3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QS5g7tNsec.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QS5g7tNsec.verified.txt index 9d2482bb58..fe410f46b6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QS5g7tNsec.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QS5g7tNsec.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QXgcj72buY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QXgcj72buY.verified.txt index 92d87f2b66..a8f2e88879 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QXgcj72buY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QXgcj72buY.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYiOTtsnlp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYiOTtsnlp.verified.txt index 678f5ab9ea..c7f7adf4e0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYiOTtsnlp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYiOTtsnlp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYpxxqI6dm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYpxxqI6dm.verified.txt index 57eab85a17..fa60644f69 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYpxxqI6dm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QYpxxqI6dm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QltroljHXp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QltroljHXp.verified.txt index 3475d2b4f2..4394a1d54c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QltroljHXp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/QltroljHXp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/R1tSxHqFWR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/R1tSxHqFWR.verified.txt index 842a9ef4df..d592164f32 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/R1tSxHqFWR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/R1tSxHqFWR.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RFydcSrrCY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RFydcSrrCY.verified.txt index 78850134d0..ba72efd876 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RFydcSrrCY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RFydcSrrCY.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RSvHJzWcVx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RSvHJzWcVx.verified.txt index 688706d09d..0cd710019c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RSvHJzWcVx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RSvHJzWcVx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RTVo1L1S2u.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RTVo1L1S2u.verified.txt index 2b823ae560..081f34e86e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RTVo1L1S2u.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/RTVo1L1S2u.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Rj61S1p4Cs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Rj61S1p4Cs.verified.txt index eb4a5ca291..6cdacab5ef 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Rj61S1p4Cs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Rj61S1p4Cs.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/S6kTKimLen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/S6kTKimLen.verified.txt index 6eb3f30669..2ad153ed5d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/S6kTKimLen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/S6kTKimLen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SEofJbUjIt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SEofJbUjIt.verified.txt index 27503eeb3f..8c3f41d9fa 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SEofJbUjIt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SEofJbUjIt.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SGXzWPLMoG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SGXzWPLMoG.verified.txt index 32cd6c3ed6..e0d974f495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SGXzWPLMoG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SGXzWPLMoG.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SKiA26rgZo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SKiA26rgZo.verified.txt index a8e35e1984..0704128e63 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SKiA26rgZo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SKiA26rgZo.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SaRnK4FOpb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SaRnK4FOpb.verified.txt index 583d4ae364..cc9c67e39a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SaRnK4FOpb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SaRnK4FOpb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SjBV0t0Bz5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SjBV0t0Bz5.verified.txt index 9f66c9e680..8d49104814 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SjBV0t0Bz5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SjBV0t0Bz5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SoTNs8IENd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SoTNs8IENd.verified.txt index 99b7fe9736..4d78220679 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SoTNs8IENd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/SoTNs8IENd.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/St5iPsOfp9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/St5iPsOfp9.verified.txt index 387fb3fcec..8c470135c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/St5iPsOfp9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/St5iPsOfp9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/T97m7kTtiO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/T97m7kTtiO.verified.txt index e3241690c9..d3cc60dece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/T97m7kTtiO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/T97m7kTtiO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TLejc0vivf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TLejc0vivf.verified.txt index 1316953f99..6e858869ec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TLejc0vivf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TLejc0vivf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Thad6nEDD5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Thad6nEDD5.verified.txt index f68d98ca45..6fd800d60c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Thad6nEDD5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Thad6nEDD5.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TxGznMqzl8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TxGznMqzl8.verified.txt index 2b1be8caaf..67e5c5fcdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TxGznMqzl8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/TxGznMqzl8.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UK13zlv5RG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UK13zlv5RG.verified.txt index 0aaf6ad04d..0081e98e95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UK13zlv5RG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UK13zlv5RG.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UMDF9cNbZt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UMDF9cNbZt.verified.txt index 5ab1a1c57c..7218eb41e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UMDF9cNbZt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UMDF9cNbZt.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UY4TVAzonK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UY4TVAzonK.verified.txt index 0110349e39..966fdb2bb3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UY4TVAzonK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/UY4TVAzonK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Uhx1npmK9K.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Uhx1npmK9K.verified.txt index 9c6e40f827..bfb4e4c45d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Uhx1npmK9K.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Uhx1npmK9K.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/V4MmKA6xMl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/V4MmKA6xMl.verified.txt index e7354430e3..ce30c89fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/V4MmKA6xMl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/V4MmKA6xMl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VaeumdU1ie.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VaeumdU1ie.verified.txt index 7f6ee8dc67..dcc3515813 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VaeumdU1ie.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VaeumdU1ie.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VvAJ9zwTgL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VvAJ9zwTgL.verified.txt index 3ea48d00ae..e5b924b83a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VvAJ9zwTgL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/VvAJ9zwTgL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/W9Iz8LDSU6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/W9Iz8LDSU6.verified.txt index 7f013258d7..e7f7948111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/W9Iz8LDSU6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/W9Iz8LDSU6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WEmd7N8AWm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WEmd7N8AWm.verified.txt index 2b2c0816ba..3711ee30d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WEmd7N8AWm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WEmd7N8AWm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WHpY18dDBC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WHpY18dDBC.verified.txt index 220e6aa8f7..a66a4c33fd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WHpY18dDBC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WHpY18dDBC.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WMVLzBfTuM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WMVLzBfTuM.verified.txt index c1a3c38115..a88ce952fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WMVLzBfTuM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WMVLzBfTuM.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WRw2ROnY9A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WRw2ROnY9A.verified.txt index 95fdb8ed7b..dfa41598cc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WRw2ROnY9A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WRw2ROnY9A.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WhPLsKKG2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WhPLsKKG2Q.verified.txt index f235f4a436..80d0669fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WhPLsKKG2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WhPLsKKG2Q.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WzWV0pZmd4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WzWV0pZmd4.verified.txt index dc4bf252cb..8f62c197bf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WzWV0pZmd4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/WzWV0pZmd4.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XdmgypPx1z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XdmgypPx1z.verified.txt index 7f2c192613..f49a3b2e1d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XdmgypPx1z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XdmgypPx1z.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XrmNw9ZJJ4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XrmNw9ZJJ4.verified.txt index 5758f36ef1..7bc4f89dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XrmNw9ZJJ4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/XrmNw9ZJJ4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Y2FIAvdeJd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Y2FIAvdeJd.verified.txt index 64c8ccd04c..7b9d3e2242 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Y2FIAvdeJd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/Y2FIAvdeJd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YLETiC8egS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YLETiC8egS.verified.txt index f1d6698ea8..b462086d75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YLETiC8egS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YLETiC8egS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YQ4C8lGTTp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YQ4C8lGTTp.verified.txt index ccdcd4cddc..a5e5f5125f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YQ4C8lGTTp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YQ4C8lGTTp.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YmajZMirSq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YmajZMirSq.verified.txt index f1fdbbe892..55b13f35ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YmajZMirSq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YmajZMirSq.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YsTXLEcU9e.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YsTXLEcU9e.verified.txt index 660358764a..178340d530 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YsTXLEcU9e.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/YsTXLEcU9e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ZeQaA7MiO7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ZeQaA7MiO7.verified.txt index 47f53ff5bf..bf15eb6b57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ZeQaA7MiO7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ZeQaA7MiO7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a5oBj4NMck.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a5oBj4NMck.verified.txt index a697208740..7da5fa398f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a5oBj4NMck.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a5oBj4NMck.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a9ZatkB5Rh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a9ZatkB5Rh.verified.txt index 8834023188..dbf3b3cc9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a9ZatkB5Rh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/a9ZatkB5Rh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/adj4aYHt0N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/adj4aYHt0N.verified.txt index 693b2fc73f..1dfdd7a723 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/adj4aYHt0N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/adj4aYHt0N.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/azYqyDbI89.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/azYqyDbI89.verified.txt index 0cd8289407..3c426fff50 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/azYqyDbI89.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/azYqyDbI89.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bXddhCA2bk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bXddhCA2bk.verified.txt index d65919c2c3..8ad7ecf03c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bXddhCA2bk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bXddhCA2bk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bbZ1hzo62z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bbZ1hzo62z.verified.txt index 1d374fc031..252e60bc96 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bbZ1hzo62z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bbZ1hzo62z.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bkRaWa4KBI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bkRaWa4KBI.verified.txt index 30ae72bec4..ddd83f655d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bkRaWa4KBI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/bkRaWa4KBI.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ce82vTL7WE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ce82vTL7WE.verified.txt index 88ff0be27b..ce264e0bf3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ce82vTL7WE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ce82vTL7WE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/cgyb3Z1MNu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/cgyb3Z1MNu.verified.txt index 156c16f658..23240499b8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/cgyb3Z1MNu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/cgyb3Z1MNu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dAgWjdgDUL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dAgWjdgDUL.verified.txt index bf085aafd7..ed9afda125 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dAgWjdgDUL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dAgWjdgDUL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dTLky56KCx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dTLky56KCx.verified.txt index f1a599b50a..67c5aba4b3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dTLky56KCx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dTLky56KCx.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dctvtQKUed.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dctvtQKUed.verified.txt index bb6aaf9136..aac0950fe8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dctvtQKUed.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/dctvtQKUed.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/eGknqt2HLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/eGknqt2HLN.verified.txt index fbaab54323..549e52bb93 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/eGknqt2HLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/eGknqt2HLN.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/evEmsereRx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/evEmsereRx.verified.txt index f969c33e63..b2f312bf9c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/evEmsereRx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/evEmsereRx.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f33sdUZvTD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f33sdUZvTD.verified.txt index b71da26573..1fb452d025 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f33sdUZvTD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f33sdUZvTD.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f8GfgtBpEy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f8GfgtBpEy.verified.txt index ae2ce35ce0..99c0c9aeba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f8GfgtBpEy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/f8GfgtBpEy.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fBsIsd9NEC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fBsIsd9NEC.verified.txt index 9eab07a003..e9fe23e17d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fBsIsd9NEC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fBsIsd9NEC.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fe1G3hjBI7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fe1G3hjBI7.verified.txt index 901c59cd66..8f3dc03f62 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fe1G3hjBI7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fe1G3hjBI7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fiHEMJtEsE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fiHEMJtEsE.verified.txt index 4cea925d39..eff3ffeda4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fiHEMJtEsE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/fiHEMJtEsE.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ftvGXa4dWE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ftvGXa4dWE.verified.txt index 014a926d60..4b81a49539 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ftvGXa4dWE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ftvGXa4dWE.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ga0wMsAonO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ga0wMsAonO.verified.txt index bab0164bcb..1aa418551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ga0wMsAonO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ga0wMsAonO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/gkp9EIvkaa.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/gkp9EIvkaa.verified.txt index 293655b4ee..7d2c01a348 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/gkp9EIvkaa.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/gkp9EIvkaa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hFwcREtVxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hFwcREtVxI.verified.txt index 9659f1d4f5..408875873a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hFwcREtVxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hFwcREtVxI.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hjyaHa29Jz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hjyaHa29Jz.verified.txt index 5cfb670234..4055062f19 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hjyaHa29Jz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/hjyaHa29Jz.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/i1n2cAvbLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/i1n2cAvbLN.verified.txt index 628dcc4abd..00f262748e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/i1n2cAvbLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/i1n2cAvbLN.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iHYaBR6vwE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iHYaBR6vwE.verified.txt index 0d6ebf1f55..a0ab806fa1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iHYaBR6vwE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iHYaBR6vwE.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iS1nna8CAC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iS1nna8CAC.verified.txt index 749746865f..c57a4accdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iS1nna8CAC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/iS1nna8CAC.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ilzLRsLJfo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ilzLRsLJfo.verified.txt index 93cf369636..9792f9bc01 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ilzLRsLJfo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ilzLRsLJfo.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/jLSQYXoUZ7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/jLSQYXoUZ7.verified.txt index 4143cedbe9..a204a9ee0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/jLSQYXoUZ7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/jLSQYXoUZ7.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ja7E8gtQYK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ja7E8gtQYK.verified.txt index 8b38121a59..bc48e9cf75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ja7E8gtQYK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ja7E8gtQYK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ji3RViDCgB.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ji3RViDCgB.verified.txt index 266e7cf693..f170883b3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ji3RViDCgB.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ji3RViDCgB.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/k1zq0pGwsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/k1zq0pGwsL.verified.txt index 75ed9f04e0..e552118032 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/k1zq0pGwsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/k1zq0pGwsL.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/kPeQkL6w72.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/kPeQkL6w72.verified.txt index 861c0c8c6b..d6637afeb1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/kPeQkL6w72.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/kPeQkL6w72.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l1jw2uJGZg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l1jw2uJGZg.verified.txt index a02810f3bc..fcbba1936c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l1jw2uJGZg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l1jw2uJGZg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l4e6XelAgq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l4e6XelAgq.verified.txt index 58ccc9d20e..b483c87834 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l4e6XelAgq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/l4e6XelAgq.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lDSTWX4oqG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lDSTWX4oqG.verified.txt index 77ba1da6ae..f8eff78f4f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lDSTWX4oqG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lDSTWX4oqG.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lE9ybfWQrn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lE9ybfWQrn.verified.txt index d886645238..6f06324d51 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lE9ybfWQrn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lE9ybfWQrn.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lLir8SMe7M.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lLir8SMe7M.verified.txt index ec2d808249..4eda9c5523 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lLir8SMe7M.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lLir8SMe7M.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lQc2P8tXnM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lQc2P8tXnM.verified.txt index 62f57980cd..f2693c0571 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lQc2P8tXnM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lQc2P8tXnM.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lxjsvrr5pZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lxjsvrr5pZ.verified.txt index 1d130c57da..550e5f255e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lxjsvrr5pZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/lxjsvrr5pZ.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mD8MIMFKXL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mD8MIMFKXL.verified.txt index 4a409d4768..1611b1837d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mD8MIMFKXL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mD8MIMFKXL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mEk9VnsQLA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mEk9VnsQLA.verified.txt index 55ea4316fb..c54868169d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mEk9VnsQLA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mEk9VnsQLA.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mOEBZdBIAJ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mOEBZdBIAJ.verified.txt index ecd3080420..d6404a5dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mOEBZdBIAJ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/mOEBZdBIAJ.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/n3FTCPtxrx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/n3FTCPtxrx.verified.txt index e91e69d996..c35ec2fb72 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/n3FTCPtxrx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/n3FTCPtxrx.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/nweFjpXFsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/nweFjpXFsL.verified.txt index 1f020b1a88..9bc0fe40bb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/nweFjpXFsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/nweFjpXFsL.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/o2otLTg8Vl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/o2otLTg8Vl.verified.txt index 92717e1176..a0db89306a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/o2otLTg8Vl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/o2otLTg8Vl.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/oQTi0amgPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/oQTi0amgPS.verified.txt index b6eacd384a..b2ae18e888 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/oQTi0amgPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/oQTi0amgPS.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ob9wFUFWgV.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ob9wFUFWgV.verified.txt index 42b197eac6..e131ccdfa7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ob9wFUFWgV.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ob9wFUFWgV.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ogC3zFKxHT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ogC3zFKxHT.verified.txt index eee1d6ea07..eae27f2af8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ogC3zFKxHT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ogC3zFKxHT.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/olJhMnzuPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/olJhMnzuPz.verified.txt index 943451a058..1be9ad322b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/olJhMnzuPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/olJhMnzuPz.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ono9JkTnAN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ono9JkTnAN.verified.txt index 5207f678c1..32053bdfc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ono9JkTnAN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/ono9JkTnAN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pZUfYns8zh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pZUfYns8zh.verified.txt index cc262b473d..8629b46f48 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pZUfYns8zh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pZUfYns8zh.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pjuiUy9p39.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pjuiUy9p39.verified.txt index c57af0cf9f..2860fb1fb7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pjuiUy9p39.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/pjuiUy9p39.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/puxvvYTSLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/puxvvYTSLO.verified.txt index 1bc0b1283e..99d9f567f6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/puxvvYTSLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/puxvvYTSLO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFU7Z1nijR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFU7Z1nijR.verified.txt index 500f65bd28..8c27e4a186 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFU7Z1nijR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFU7Z1nijR.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFoSkj7T13.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFoSkj7T13.verified.txt index 0186cdc28f..519db7eb3b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFoSkj7T13.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qFoSkj7T13.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qJTnnQqF2F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qJTnnQqF2F.verified.txt index cb828ce564..d6d7835250 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qJTnnQqF2F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qJTnnQqF2F.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qKD0Cb8gIA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qKD0Cb8gIA.verified.txt index ba10f0897b..afc7b37bee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qKD0Cb8gIA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qKD0Cb8gIA.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qLOlAXYfVi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qLOlAXYfVi.verified.txt index bac97c3289..44ceb32495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qLOlAXYfVi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qLOlAXYfVi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qRU3nCwt2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qRU3nCwt2Q.verified.txt index 2776a26004..e5ca0244cd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qRU3nCwt2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/qRU3nCwt2Q.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rWqAPGZL5x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rWqAPGZL5x.verified.txt index bbe48d64dc..d264790b3d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rWqAPGZL5x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rWqAPGZL5x.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/reeO7MFnmp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/reeO7MFnmp.verified.txt index 261c182ba5..82d3be0353 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/reeO7MFnmp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/reeO7MFnmp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rjKVwCkFkr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rjKVwCkFkr.verified.txt index 1a241484d6..277f5b271c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rjKVwCkFkr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rjKVwCkFkr.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rkBgJGfViS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rkBgJGfViS.verified.txt index b57383aee3..0facb64982 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rkBgJGfViS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/rkBgJGfViS.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sDmT7Ipq8w.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sDmT7Ipq8w.verified.txt index 70bae0a291..43246752f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sDmT7Ipq8w.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sDmT7Ipq8w.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sNBhPvC0ZD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sNBhPvC0ZD.verified.txt index 71d39498d7..3a3ee5b18d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sNBhPvC0ZD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sNBhPvC0ZD.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/saA0rCxOId.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/saA0rCxOId.verified.txt index 0fbe48bd3d..05f07b7f18 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/saA0rCxOId.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/saA0rCxOId.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sqUxc6SwA4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sqUxc6SwA4.verified.txt index dbb291aabd..b951642594 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sqUxc6SwA4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/sqUxc6SwA4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tZxLYsMc7s.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tZxLYsMc7s.verified.txt index cc07c73ea7..c806997f25 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tZxLYsMc7s.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tZxLYsMc7s.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/taNk0UiCPi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/taNk0UiCPi.verified.txt index d8275a7113..a90d420cdb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/taNk0UiCPi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/taNk0UiCPi.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tep4bS6Kf1.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tep4bS6Kf1.verified.txt index c2766fa09b..55786bc135 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tep4bS6Kf1.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tep4bS6Kf1.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/thnPc0KPMs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/thnPc0KPMs.verified.txt index fd678fdc5b..497d0369f2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/thnPc0KPMs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/thnPc0KPMs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tiGNpHQWuQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tiGNpHQWuQ.verified.txt index b0e60072f6..c7af138342 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tiGNpHQWuQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/tiGNpHQWuQ.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKnQqNmYCb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKnQqNmYCb.verified.txt index d13e732ca4..8274adb2ee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKnQqNmYCb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKnQqNmYCb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKxa9dnwxN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKxa9dnwxN.verified.txt index c6e93f1c87..8b505e2164 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKxa9dnwxN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/uKxa9dnwxN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/v1Rhgo3OFM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/v1Rhgo3OFM.verified.txt index 1c80785fe1..992a2e8e6d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/v1Rhgo3OFM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/v1Rhgo3OFM.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vFikwMxO6k.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vFikwMxO6k.verified.txt index 70a7bbab64..e9f7eba2ac 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vFikwMxO6k.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vFikwMxO6k.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vjSFj06YzO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vjSFj06YzO.verified.txt index e80e0c136f..72590244ad 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vjSFj06YzO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vjSFj06YzO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vzFNnv2Src.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vzFNnv2Src.verified.txt index aae3077bbf..88e0824af7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vzFNnv2Src.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/vzFNnv2Src.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/w7Te0wz04x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/w7Te0wz04x.verified.txt index 09808cd85c..b93c91ba54 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/w7Te0wz04x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/w7Te0wz04x.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/whzkVog54E.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/whzkVog54E.verified.txt index 888001706c..1ed2ade071 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/whzkVog54E.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/whzkVog54E.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/wsGKCM8fa3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/wsGKCM8fa3.verified.txt index 22053567bc..fc0f7dea70 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/wsGKCM8fa3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/wsGKCM8fa3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xAdDoA2n0F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xAdDoA2n0F.verified.txt index a7aa592f0e..9abdbc3ff9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xAdDoA2n0F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xAdDoA2n0F.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xK8UDd7XMx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xK8UDd7XMx.verified.txt index 51c914b2a4..90b6bbd5d1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xK8UDd7XMx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xK8UDd7XMx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xNrbVapWwv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xNrbVapWwv.verified.txt index f4b9802178..b01f0be1c1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xNrbVapWwv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xNrbVapWwv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xdivY90KyF.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xdivY90KyF.verified.txt index f41915f462..a5d1ca3fc7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xdivY90KyF.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xdivY90KyF.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xrqw8zdbit.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xrqw8zdbit.verified.txt index b959533fd5..685d0e1901 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xrqw8zdbit.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xrqw8zdbit.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xtJmjxTvLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xtJmjxTvLO.verified.txt index 5bb72b4f22..00cb61aa43 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xtJmjxTvLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/xtJmjxTvLO.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z5GMR6FT65.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z5GMR6FT65.verified.txt index 074240740f..17c7afad15 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z5GMR6FT65.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z5GMR6FT65.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z9IRzE0Kf5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z9IRzE0Kf5.verified.txt index 8fb7f54df1..bb7941dd79 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z9IRzE0Kf5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/z9IRzE0Kf5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zIETLgBv7L.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zIETLgBv7L.verified.txt index dcbeb183ac..1bd04f47ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zIETLgBv7L.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zIETLgBv7L.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zLA7TqTKPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zLA7TqTKPz.verified.txt index 4ee753e7d6..f7a9f598c7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zLA7TqTKPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zLA7TqTKPz.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zdGbJHTnbv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zdGbJHTnbv.verified.txt index bd831721a2..331584a1e6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zdGbJHTnbv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zdGbJHTnbv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zh3XlzyPIq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zh3XlzyPIq.verified.txt index e11ef5cf59..9a0a2d05c8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zh3XlzyPIq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zh3XlzyPIq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zxcjLWzZLy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zxcjLWzZLy.verified.txt index 2fb4ef0a6e..85c775fcb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zxcjLWzZLy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0-us/zxcjLWzZLy.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0pnsI1bxxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0pnsI1bxxI.verified.txt index 9c66d950f9..d7391da00a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0pnsI1bxxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0pnsI1bxxI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0tPklTLL8f.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0tPklTLL8f.verified.txt index 7eaf7d8000..dcda2e4f6b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0tPklTLL8f.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/0tPklTLL8f.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/11k4c6CGtU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/11k4c6CGtU.verified.txt index fad59e0dfb..660ffb947c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/11k4c6CGtU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/11k4c6CGtU.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/18luqBmqNm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/18luqBmqNm.verified.txt index 8da2bae958..7fb3502001 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/18luqBmqNm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/18luqBmqNm.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1h0XbQEjc6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1h0XbQEjc6.verified.txt index 4f53ad0d8f..3e6c94551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1h0XbQEjc6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1h0XbQEjc6.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1nooLrDZvg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1nooLrDZvg.verified.txt index 69d955f615..8dff5fd55f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1nooLrDZvg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/1nooLrDZvg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/22b5GFPsJy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/22b5GFPsJy.verified.txt index 3fc6472c9d..aa6390a304 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/22b5GFPsJy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/22b5GFPsJy.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/25cFSQsgYv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/25cFSQsgYv.verified.txt index 996765a1f8..dc359faff1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/25cFSQsgYv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/25cFSQsgYv.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2FJcSOSpS2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2FJcSOSpS2.verified.txt index 2099815fcc..8ba229cb03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2FJcSOSpS2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2FJcSOSpS2.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2GQW6JDMp3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2GQW6JDMp3.verified.txt index f3e64ae5c8..7e8b999583 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2GQW6JDMp3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2GQW6JDMp3.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2h4RxJmd8y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2h4RxJmd8y.verified.txt index 9866991fe7..eb395c5477 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2h4RxJmd8y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2h4RxJmd8y.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2uTfcY6oRr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2uTfcY6oRr.verified.txt index 1101fbf8e5..e6b2640b9f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2uTfcY6oRr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/2uTfcY6oRr.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3G0vZbWoKl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3G0vZbWoKl.verified.txt index a8131d2b74..cb056efbb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3G0vZbWoKl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3G0vZbWoKl.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3HolOeXE6X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3HolOeXE6X.verified.txt index eba0867cf1..1ef2d5b098 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3HolOeXE6X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3HolOeXE6X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3mBWDp16rd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3mBWDp16rd.verified.txt index f72a047d15..2a36fa4212 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3mBWDp16rd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3mBWDp16rd.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3oAabmt2UZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3oAabmt2UZ.verified.txt index 2290ab6d6e..a679545d3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3oAabmt2UZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/3oAabmt2UZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4B4V3nXRbi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4B4V3nXRbi.verified.txt index 67b68cd1ab..ec261b1ba4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4B4V3nXRbi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4B4V3nXRbi.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4WKuwCUGdK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4WKuwCUGdK.verified.txt index 8e8065d947..28b83f3eec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4WKuwCUGdK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4WKuwCUGdK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4qxtVFqAJk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4qxtVFqAJk.verified.txt index 5aad69492b..5395ef8c2b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4qxtVFqAJk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/4qxtVFqAJk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/58rLEsr70X.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/58rLEsr70X.verified.txt index dd2de89c70..3b32715ee2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/58rLEsr70X.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/58rLEsr70X.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5K5b1VcrOP.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5K5b1VcrOP.verified.txt index a8ea5f7ae7..a058aa3d9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5K5b1VcrOP.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5K5b1VcrOP.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5Q17yuMKm7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5Q17yuMKm7.verified.txt index 087e13e8b7..f209384d46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5Q17yuMKm7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5Q17yuMKm7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5nLb3uhXMT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5nLb3uhXMT.verified.txt index 7049250ef2..3fc82fc596 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5nLb3uhXMT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/5nLb3uhXMT.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6HeO7LLgVh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6HeO7LLgVh.verified.txt index 029e6f19b4..058ea62a89 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6HeO7LLgVh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6HeO7LLgVh.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6IDnvwmhCN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6IDnvwmhCN.verified.txt index a6bfac2c1b..13703de525 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6IDnvwmhCN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6IDnvwmhCN.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6RqxkujVrD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6RqxkujVrD.verified.txt index 4968fc8c94..bc6180ae55 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6RqxkujVrD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6RqxkujVrD.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6lXSbuIj9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6lXSbuIj9v.verified.txt index bfa83f50a4..2dae564d20 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6lXSbuIj9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6lXSbuIj9v.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6w1vPiY8I8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6w1vPiY8I8.verified.txt index 5cf086afc2..a3b276773d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6w1vPiY8I8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6w1vPiY8I8.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6xsKtx6pBG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6xsKtx6pBG.verified.txt index c0b754b006..ceee620022 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6xsKtx6pBG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/6xsKtx6pBG.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/7HwoUhfzjA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/7HwoUhfzjA.verified.txt index cd397e3a21..2779f31659 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/7HwoUhfzjA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/7HwoUhfzjA.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8243ZMXNu5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8243ZMXNu5.verified.txt index 4b1088968f..0f48a0698d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8243ZMXNu5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8243ZMXNu5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8NQVN4RqfT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8NQVN4RqfT.verified.txt index 96d1234fdd..ae84a52557 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8NQVN4RqfT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8NQVN4RqfT.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8u0sAu1Eqm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8u0sAu1Eqm.verified.txt index cb52350996..d1182ec404 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8u0sAu1Eqm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/8u0sAu1Eqm.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/90qAmH8XZh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/90qAmH8XZh.verified.txt index e2b103fa61..d2082bc4d8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/90qAmH8XZh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/90qAmH8XZh.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9JIAVifG4N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9JIAVifG4N.verified.txt index f26e56cf8b..f59df9c6fe 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9JIAVifG4N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9JIAVifG4N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9KzNVPKfyb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9KzNVPKfyb.verified.txt index e0966fb3f1..10f23b9278 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9KzNVPKfyb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9KzNVPKfyb.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9Y12quQzSn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9Y12quQzSn.verified.txt index d917a094f5..4928606dbc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9Y12quQzSn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/9Y12quQzSn.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/A3LDARdFrZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/A3LDARdFrZ.verified.txt index e1586e3b08..48b23938ba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/A3LDARdFrZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/A3LDARdFrZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AGUOBcbY4A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AGUOBcbY4A.verified.txt index 56ddc605b2..0ac8c83b5a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AGUOBcbY4A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AGUOBcbY4A.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AZTEicLUf8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AZTEicLUf8.verified.txt index 89b2afda92..05ac7e9e14 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AZTEicLUf8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/AZTEicLUf8.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/B6oAHeCpjv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/B6oAHeCpjv.verified.txt index 837338ee25..e0ad3ceece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/B6oAHeCpjv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/B6oAHeCpjv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BCDkkorwLD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BCDkkorwLD.verified.txt index 2fd700a724..41ad90bdd8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BCDkkorwLD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BCDkkorwLD.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BU0UUvzzuK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BU0UUvzzuK.verified.txt index ce84811336..25e1003e53 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BU0UUvzzuK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BU0UUvzzuK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BoUPxEqWpx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BoUPxEqWpx.verified.txt index e26630974c..30fe875995 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BoUPxEqWpx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/BoUPxEqWpx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Bw4RQ5cmww.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Bw4RQ5cmww.verified.txt index 64ddc1344c..402308a867 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Bw4RQ5cmww.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Bw4RQ5cmww.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CBLHvotK4Y.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CBLHvotK4Y.verified.txt index 2bfaa0ebd0..4ba551b619 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CBLHvotK4Y.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CBLHvotK4Y.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CIpk6HUes4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CIpk6HUes4.verified.txt index 7ae416850c..33451d3246 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CIpk6HUes4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CIpk6HUes4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CM6dqqGbT5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CM6dqqGbT5.verified.txt index 14b80f8845..3b0441774d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CM6dqqGbT5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CM6dqqGbT5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CQMHho7gsu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CQMHho7gsu.verified.txt index 2351421db2..e9487987be 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CQMHho7gsu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CQMHho7gsu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CRwevTxrKM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CRwevTxrKM.verified.txt index defdaec103..552a0d1460 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CRwevTxrKM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CRwevTxrKM.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ChSNzH0nQf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ChSNzH0nQf.verified.txt index 2c4da765ae..84ec9dd715 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ChSNzH0nQf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ChSNzH0nQf.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CljAURVTMy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CljAURVTMy.verified.txt index dc029afd0a..531301875b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CljAURVTMy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CljAURVTMy.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CrCmZ1rFQQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CrCmZ1rFQQ.verified.txt index 73fce92615..779c01a941 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CrCmZ1rFQQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/CrCmZ1rFQQ.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/D32fvJ2fXc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/D32fvJ2fXc.verified.txt index 9c7e86e326..53da4bafde 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/D32fvJ2fXc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/D32fvJ2fXc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DmVi2A1jh2.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DmVi2A1jh2.verified.txt index 329c1d56c0..b8d48f693d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DmVi2A1jh2.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DmVi2A1jh2.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DwiaPjLFwd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DwiaPjLFwd.verified.txt index 33d93b56e1..5302d40c0e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DwiaPjLFwd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/DwiaPjLFwd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EJHYFCuWsI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EJHYFCuWsI.verified.txt index dfee9d511d..bbca2c7e28 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EJHYFCuWsI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EJHYFCuWsI.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EjHVFORRmC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EjHVFORRmC.verified.txt index dfe01bdb01..985a596b66 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EjHVFORRmC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/EjHVFORRmC.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/F2ETlJ3TUM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/F2ETlJ3TUM.verified.txt index 3d2c14f284..b09ae69191 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/F2ETlJ3TUM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/F2ETlJ3TUM.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/FaNpjhWJnp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/FaNpjhWJnp.verified.txt index b90ed63635..417392a6cb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/FaNpjhWJnp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/FaNpjhWJnp.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/G1iz87Qh9v.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/G1iz87Qh9v.verified.txt index 914b9459cd..de6635e0d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/G1iz87Qh9v.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/G1iz87Qh9v.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GAiFkQgtr9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GAiFkQgtr9.verified.txt index bacf4287f5..eac53ede7e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GAiFkQgtr9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GAiFkQgtr9.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GFR12F2PgU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GFR12F2PgU.verified.txt index ab6159329d..acbd7c517a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GFR12F2PgU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GFR12F2PgU.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GGYsXO7NgY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GGYsXO7NgY.verified.txt index 6bdb018acd..20f261dc41 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GGYsXO7NgY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GGYsXO7NgY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GNISh38TPA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GNISh38TPA.verified.txt index b072a622db..54916dc2f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GNISh38TPA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GNISh38TPA.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GbsChMfTbx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GbsChMfTbx.verified.txt index 2655f3a8e5..ed533fd7d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GbsChMfTbx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GbsChMfTbx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gh9VzxAfwQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gh9VzxAfwQ.verified.txt index f0906512cb..211ad74e09 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gh9VzxAfwQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gh9VzxAfwQ.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gneqedonte.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gneqedonte.verified.txt index f0d29d8028..117a2a3c56 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gneqedonte.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gneqedonte.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GqkxwENyM0.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GqkxwENyM0.verified.txt index 23f427b2c7..67c0cbcc31 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GqkxwENyM0.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/GqkxwENyM0.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gr0OHLjXmU.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gr0OHLjXmU.verified.txt index 0bcc3cd3b9..0c93a60a6f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gr0OHLjXmU.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Gr0OHLjXmU.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HgenO1WVxu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HgenO1WVxu.verified.txt index de921e5bfb..bced803960 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HgenO1WVxu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HgenO1WVxu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HyJgcfbHDZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HyJgcfbHDZ.verified.txt index 5e075eef2a..fce8c12549 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HyJgcfbHDZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/HyJgcfbHDZ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/I9QdnSKGsb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/I9QdnSKGsb.verified.txt index ef9d1a3ea2..b443aefc46 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/I9QdnSKGsb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/I9QdnSKGsb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ILL19WnisW.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ILL19WnisW.verified.txt index a612e47c92..48c9185c95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ILL19WnisW.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ILL19WnisW.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IcUtLq2cFK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IcUtLq2cFK.verified.txt index 63b03503f4..7fc2054e57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IcUtLq2cFK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IcUtLq2cFK.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IgU7pSd2b3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IgU7pSd2b3.verified.txt index 3afa0452f5..fce6f19cc0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IgU7pSd2b3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/IgU7pSd2b3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/JKGj0F7zh9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/JKGj0F7zh9.verified.txt index 77f8036c1a..81bbb612fc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/JKGj0F7zh9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/JKGj0F7zh9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Jq9C6Uxpys.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Jq9C6Uxpys.verified.txt index 7dbd531a60..5ba6e1f638 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Jq9C6Uxpys.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Jq9C6Uxpys.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KIyW41F6r6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KIyW41F6r6.verified.txt index 9ddb5f8bd5..9f24483f0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KIyW41F6r6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KIyW41F6r6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KSbl2FesJc.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KSbl2FesJc.verified.txt index c25d62ff82..4256c048ce 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KSbl2FesJc.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KSbl2FesJc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KcixvfqGrv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KcixvfqGrv.verified.txt index 235f7b4273..5977c9d095 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KcixvfqGrv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KcixvfqGrv.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KxI2Xy8cPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KxI2Xy8cPS.verified.txt index 363c24f562..0989e031c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KxI2Xy8cPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/KxI2Xy8cPS.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LGZJJpm1uq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LGZJJpm1uq.verified.txt index 1832dba765..635ae8a111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LGZJJpm1uq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LGZJJpm1uq.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LJUqwkNpMv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LJUqwkNpMv.verified.txt index d39c16593e..ca20cfc08d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LJUqwkNpMv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/LJUqwkNpMv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/M4NqZwdXw7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/M4NqZwdXw7.verified.txt index 7231e045b6..0daa00da8b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/M4NqZwdXw7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/M4NqZwdXw7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/MY3XtRzu8x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/MY3XtRzu8x.verified.txt index 14ed885e1f..57f8fe1b92 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/MY3XtRzu8x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/MY3XtRzu8x.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NA3ZnOKVDG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NA3ZnOKVDG.verified.txt index d5e3627632..22bb241e40 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NA3ZnOKVDG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NA3ZnOKVDG.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NG5PKVM1i8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NG5PKVM1i8.verified.txt index eab463950e..06cadd2183 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NG5PKVM1i8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NG5PKVM1i8.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NGOTNmWxHE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NGOTNmWxHE.verified.txt index a106e68b0e..a714d77f03 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NGOTNmWxHE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NGOTNmWxHE.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NWdbHdqTCk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NWdbHdqTCk.verified.txt index b90c64f95e..c30f8a68e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NWdbHdqTCk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/NWdbHdqTCk.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OGgQrxiJWS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OGgQrxiJWS.verified.txt index abfc88017c..29f4e9c5dd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OGgQrxiJWS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OGgQrxiJWS.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OpqpTR5Cfw.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OpqpTR5Cfw.verified.txt index d485b0594b..c5e3c9523a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OpqpTR5Cfw.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OpqpTR5Cfw.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Orfrz26F6p.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Orfrz26F6p.verified.txt index 8cb368634c..e28420042e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Orfrz26F6p.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Orfrz26F6p.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OvvLaH9ciz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OvvLaH9ciz.verified.txt index 9a99e14610..5d83e25491 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OvvLaH9ciz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/OvvLaH9ciz.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PXabnXFmkt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PXabnXFmkt.verified.txt index 5045dec16e..6f69fdd7fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PXabnXFmkt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PXabnXFmkt.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PvSh3xfKNr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PvSh3xfKNr.verified.txt index 9fbe1bc114..37f4339a4c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PvSh3xfKNr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/PvSh3xfKNr.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Pw9SxJyXzg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Pw9SxJyXzg.verified.txt index 86d989c1b1..0fadff4ef2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Pw9SxJyXzg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Pw9SxJyXzg.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q0Mq3bhsum.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q0Mq3bhsum.verified.txt index 6d2d381800..2e23d4aea3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q0Mq3bhsum.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q0Mq3bhsum.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q8OFEgFlen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q8OFEgFlen.verified.txt index eba6a814d7..0d0652dbdf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q8OFEgFlen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Q8OFEgFlen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QEUSa16DTz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QEUSa16DTz.verified.txt index ef651629fa..bdfd1a1231 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QEUSa16DTz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QEUSa16DTz.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QKQfFAiHK3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QKQfFAiHK3.verified.txt index b36adc0d8a..41b534b553 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QKQfFAiHK3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QKQfFAiHK3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QS5g7tNsec.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QS5g7tNsec.verified.txt index 9d2482bb58..fe410f46b6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QS5g7tNsec.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QS5g7tNsec.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QXgcj72buY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QXgcj72buY.verified.txt index 92d87f2b66..a8f2e88879 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QXgcj72buY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QXgcj72buY.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYiOTtsnlp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYiOTtsnlp.verified.txt index 678f5ab9ea..c7f7adf4e0 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYiOTtsnlp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYiOTtsnlp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYpxxqI6dm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYpxxqI6dm.verified.txt index 57eab85a17..fa60644f69 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYpxxqI6dm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QYpxxqI6dm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QltroljHXp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QltroljHXp.verified.txt index 3475d2b4f2..4394a1d54c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QltroljHXp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/QltroljHXp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/R1tSxHqFWR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/R1tSxHqFWR.verified.txt index 842a9ef4df..d592164f32 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/R1tSxHqFWR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/R1tSxHqFWR.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RFydcSrrCY.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RFydcSrrCY.verified.txt index 78850134d0..ba72efd876 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RFydcSrrCY.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RFydcSrrCY.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RSvHJzWcVx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RSvHJzWcVx.verified.txt index 688706d09d..0cd710019c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RSvHJzWcVx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RSvHJzWcVx.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RTVo1L1S2u.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RTVo1L1S2u.verified.txt index 2b823ae560..081f34e86e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RTVo1L1S2u.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/RTVo1L1S2u.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Rj61S1p4Cs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Rj61S1p4Cs.verified.txt index eb4a5ca291..6cdacab5ef 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Rj61S1p4Cs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Rj61S1p4Cs.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/S6kTKimLen.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/S6kTKimLen.verified.txt index 6eb3f30669..2ad153ed5d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/S6kTKimLen.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/S6kTKimLen.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SEofJbUjIt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SEofJbUjIt.verified.txt index 27503eeb3f..8c3f41d9fa 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SEofJbUjIt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SEofJbUjIt.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SGXzWPLMoG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SGXzWPLMoG.verified.txt index 32cd6c3ed6..e0d974f495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SGXzWPLMoG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SGXzWPLMoG.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SKiA26rgZo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SKiA26rgZo.verified.txt index a8e35e1984..0704128e63 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SKiA26rgZo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SKiA26rgZo.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SaRnK4FOpb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SaRnK4FOpb.verified.txt index 583d4ae364..cc9c67e39a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SaRnK4FOpb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SaRnK4FOpb.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SjBV0t0Bz5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SjBV0t0Bz5.verified.txt index 9f66c9e680..8d49104814 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SjBV0t0Bz5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SjBV0t0Bz5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SoTNs8IENd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SoTNs8IENd.verified.txt index 99b7fe9736..4d78220679 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SoTNs8IENd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/SoTNs8IENd.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/St5iPsOfp9.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/St5iPsOfp9.verified.txt index 387fb3fcec..8c470135c9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/St5iPsOfp9.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/St5iPsOfp9.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/T97m7kTtiO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/T97m7kTtiO.verified.txt index e3241690c9..d3cc60dece 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/T97m7kTtiO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/T97m7kTtiO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TLejc0vivf.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TLejc0vivf.verified.txt index 1316953f99..6e858869ec 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TLejc0vivf.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TLejc0vivf.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Thad6nEDD5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Thad6nEDD5.verified.txt index f68d98ca45..6fd800d60c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Thad6nEDD5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Thad6nEDD5.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TxGznMqzl8.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TxGznMqzl8.verified.txt index 2b1be8caaf..67e5c5fcdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TxGznMqzl8.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/TxGznMqzl8.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UK13zlv5RG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UK13zlv5RG.verified.txt index 0aaf6ad04d..0081e98e95 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UK13zlv5RG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UK13zlv5RG.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UMDF9cNbZt.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UMDF9cNbZt.verified.txt index 5ab1a1c57c..7218eb41e5 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UMDF9cNbZt.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UMDF9cNbZt.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UY4TVAzonK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UY4TVAzonK.verified.txt index 0110349e39..966fdb2bb3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UY4TVAzonK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/UY4TVAzonK.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Uhx1npmK9K.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Uhx1npmK9K.verified.txt index 9c6e40f827..bfb4e4c45d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Uhx1npmK9K.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Uhx1npmK9K.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/V4MmKA6xMl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/V4MmKA6xMl.verified.txt index e7354430e3..ce30c89fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/V4MmKA6xMl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/V4MmKA6xMl.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VaeumdU1ie.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VaeumdU1ie.verified.txt index 7f6ee8dc67..dcc3515813 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VaeumdU1ie.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VaeumdU1ie.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VvAJ9zwTgL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VvAJ9zwTgL.verified.txt index 3ea48d00ae..e5b924b83a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VvAJ9zwTgL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/VvAJ9zwTgL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/W9Iz8LDSU6.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/W9Iz8LDSU6.verified.txt index 7f013258d7..e7f7948111 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/W9Iz8LDSU6.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/W9Iz8LDSU6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WEmd7N8AWm.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WEmd7N8AWm.verified.txt index 2b2c0816ba..3711ee30d7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WEmd7N8AWm.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WEmd7N8AWm.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WHpY18dDBC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WHpY18dDBC.verified.txt index 220e6aa8f7..a66a4c33fd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WHpY18dDBC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WHpY18dDBC.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WMVLzBfTuM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WMVLzBfTuM.verified.txt index c1a3c38115..a88ce952fb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WMVLzBfTuM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WMVLzBfTuM.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WRw2ROnY9A.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WRw2ROnY9A.verified.txt index 95fdb8ed7b..dfa41598cc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WRw2ROnY9A.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WRw2ROnY9A.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WhPLsKKG2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WhPLsKKG2Q.verified.txt index f235f4a436..80d0669fee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WhPLsKKG2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WhPLsKKG2Q.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WzWV0pZmd4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WzWV0pZmd4.verified.txt index dc4bf252cb..8f62c197bf 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WzWV0pZmd4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/WzWV0pZmd4.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XdmgypPx1z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XdmgypPx1z.verified.txt index 7f2c192613..f49a3b2e1d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XdmgypPx1z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XdmgypPx1z.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XrmNw9ZJJ4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XrmNw9ZJJ4.verified.txt index 5758f36ef1..7bc4f89dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XrmNw9ZJJ4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/XrmNw9ZJJ4.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Y2FIAvdeJd.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Y2FIAvdeJd.verified.txt index 64c8ccd04c..7b9d3e2242 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Y2FIAvdeJd.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/Y2FIAvdeJd.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YLETiC8egS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YLETiC8egS.verified.txt index f1d6698ea8..b462086d75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YLETiC8egS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YLETiC8egS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YQ4C8lGTTp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YQ4C8lGTTp.verified.txt index ccdcd4cddc..a5e5f5125f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YQ4C8lGTTp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YQ4C8lGTTp.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YmajZMirSq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YmajZMirSq.verified.txt index f1fdbbe892..55b13f35ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YmajZMirSq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YmajZMirSq.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YsTXLEcU9e.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YsTXLEcU9e.verified.txt index 660358764a..178340d530 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YsTXLEcU9e.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/YsTXLEcU9e.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ZeQaA7MiO7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ZeQaA7MiO7.verified.txt index 47f53ff5bf..bf15eb6b57 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ZeQaA7MiO7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ZeQaA7MiO7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a5oBj4NMck.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a5oBj4NMck.verified.txt index a697208740..7da5fa398f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a5oBj4NMck.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a5oBj4NMck.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a9ZatkB5Rh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a9ZatkB5Rh.verified.txt index 8834023188..dbf3b3cc9a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a9ZatkB5Rh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/a9ZatkB5Rh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/adj4aYHt0N.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/adj4aYHt0N.verified.txt index 693b2fc73f..1dfdd7a723 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/adj4aYHt0N.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/adj4aYHt0N.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/azYqyDbI89.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/azYqyDbI89.verified.txt index 0cd8289407..3c426fff50 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/azYqyDbI89.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/azYqyDbI89.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bXddhCA2bk.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bXddhCA2bk.verified.txt index d65919c2c3..8ad7ecf03c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bXddhCA2bk.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bXddhCA2bk.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bbZ1hzo62z.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bbZ1hzo62z.verified.txt index 1d374fc031..252e60bc96 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bbZ1hzo62z.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bbZ1hzo62z.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bkRaWa4KBI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bkRaWa4KBI.verified.txt index 30ae72bec4..ddd83f655d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bkRaWa4KBI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/bkRaWa4KBI.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ce82vTL7WE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ce82vTL7WE.verified.txt index 88ff0be27b..ce264e0bf3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ce82vTL7WE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ce82vTL7WE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/cgyb3Z1MNu.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/cgyb3Z1MNu.verified.txt index 156c16f658..23240499b8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/cgyb3Z1MNu.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/cgyb3Z1MNu.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dAgWjdgDUL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dAgWjdgDUL.verified.txt index bf085aafd7..ed9afda125 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dAgWjdgDUL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dAgWjdgDUL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dTLky56KCx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dTLky56KCx.verified.txt index f1a599b50a..67c5aba4b3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dTLky56KCx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dTLky56KCx.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dctvtQKUed.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dctvtQKUed.verified.txt index bb6aaf9136..aac0950fe8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dctvtQKUed.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/dctvtQKUed.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/eGknqt2HLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/eGknqt2HLN.verified.txt index fbaab54323..549e52bb93 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/eGknqt2HLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/eGknqt2HLN.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/evEmsereRx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/evEmsereRx.verified.txt index f969c33e63..b2f312bf9c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/evEmsereRx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/evEmsereRx.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f33sdUZvTD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f33sdUZvTD.verified.txt index b71da26573..1fb452d025 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f33sdUZvTD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f33sdUZvTD.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f8GfgtBpEy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f8GfgtBpEy.verified.txt index ae2ce35ce0..99c0c9aeba 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f8GfgtBpEy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/f8GfgtBpEy.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fBsIsd9NEC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fBsIsd9NEC.verified.txt index 9eab07a003..e9fe23e17d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fBsIsd9NEC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fBsIsd9NEC.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fe1G3hjBI7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fe1G3hjBI7.verified.txt index 901c59cd66..8f3dc03f62 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fe1G3hjBI7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fe1G3hjBI7.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fiHEMJtEsE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fiHEMJtEsE.verified.txt index 4cea925d39..eff3ffeda4 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fiHEMJtEsE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/fiHEMJtEsE.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ftvGXa4dWE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ftvGXa4dWE.verified.txt index 014a926d60..4b81a49539 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ftvGXa4dWE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ftvGXa4dWE.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ga0wMsAonO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ga0wMsAonO.verified.txt index bab0164bcb..1aa418551c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ga0wMsAonO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ga0wMsAonO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/gkp9EIvkaa.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/gkp9EIvkaa.verified.txt index 293655b4ee..7d2c01a348 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/gkp9EIvkaa.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/gkp9EIvkaa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hFwcREtVxI.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hFwcREtVxI.verified.txt index 9659f1d4f5..408875873a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hFwcREtVxI.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hFwcREtVxI.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hjyaHa29Jz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hjyaHa29Jz.verified.txt index 5cfb670234..4055062f19 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hjyaHa29Jz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/hjyaHa29Jz.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/i1n2cAvbLN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/i1n2cAvbLN.verified.txt index 628dcc4abd..00f262748e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/i1n2cAvbLN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/i1n2cAvbLN.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iHYaBR6vwE.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iHYaBR6vwE.verified.txt index 0d6ebf1f55..a0ab806fa1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iHYaBR6vwE.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iHYaBR6vwE.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iS1nna8CAC.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iS1nna8CAC.verified.txt index 749746865f..c57a4accdc 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iS1nna8CAC.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/iS1nna8CAC.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ilzLRsLJfo.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ilzLRsLJfo.verified.txt index 93cf369636..9792f9bc01 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ilzLRsLJfo.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ilzLRsLJfo.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/jLSQYXoUZ7.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/jLSQYXoUZ7.verified.txt index 4143cedbe9..a204a9ee0f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/jLSQYXoUZ7.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/jLSQYXoUZ7.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ja7E8gtQYK.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ja7E8gtQYK.verified.txt index 8b38121a59..bc48e9cf75 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ja7E8gtQYK.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ja7E8gtQYK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ji3RViDCgB.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ji3RViDCgB.verified.txt index 266e7cf693..f170883b3c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ji3RViDCgB.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ji3RViDCgB.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/k1zq0pGwsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/k1zq0pGwsL.verified.txt index 75ed9f04e0..e552118032 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/k1zq0pGwsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/k1zq0pGwsL.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/kPeQkL6w72.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/kPeQkL6w72.verified.txt index 861c0c8c6b..d6637afeb1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/kPeQkL6w72.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/kPeQkL6w72.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l1jw2uJGZg.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l1jw2uJGZg.verified.txt index a02810f3bc..fcbba1936c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l1jw2uJGZg.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l1jw2uJGZg.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l4e6XelAgq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l4e6XelAgq.verified.txt index 58ccc9d20e..b483c87834 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l4e6XelAgq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/l4e6XelAgq.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lDSTWX4oqG.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lDSTWX4oqG.verified.txt index 77ba1da6ae..f8eff78f4f 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lDSTWX4oqG.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lDSTWX4oqG.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lE9ybfWQrn.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lE9ybfWQrn.verified.txt index d886645238..6f06324d51 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lE9ybfWQrn.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lE9ybfWQrn.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lLir8SMe7M.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lLir8SMe7M.verified.txt index ec2d808249..4eda9c5523 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lLir8SMe7M.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lLir8SMe7M.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lQc2P8tXnM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lQc2P8tXnM.verified.txt index 62f57980cd..f2693c0571 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lQc2P8tXnM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lQc2P8tXnM.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lxjsvrr5pZ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lxjsvrr5pZ.verified.txt index 1d130c57da..550e5f255e 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lxjsvrr5pZ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/lxjsvrr5pZ.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mD8MIMFKXL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mD8MIMFKXL.verified.txt index 4a409d4768..1611b1837d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mD8MIMFKXL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mD8MIMFKXL.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mEk9VnsQLA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mEk9VnsQLA.verified.txt index 55ea4316fb..c54868169d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mEk9VnsQLA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mEk9VnsQLA.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mOEBZdBIAJ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mOEBZdBIAJ.verified.txt index ecd3080420..d6404a5dc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mOEBZdBIAJ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/mOEBZdBIAJ.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/n3FTCPtxrx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/n3FTCPtxrx.verified.txt index e91e69d996..c35ec2fb72 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/n3FTCPtxrx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/n3FTCPtxrx.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/nweFjpXFsL.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/nweFjpXFsL.verified.txt index 1f020b1a88..9bc0fe40bb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/nweFjpXFsL.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/nweFjpXFsL.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/o2otLTg8Vl.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/o2otLTg8Vl.verified.txt index 92717e1176..a0db89306a 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/o2otLTg8Vl.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/o2otLTg8Vl.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/oQTi0amgPS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/oQTi0amgPS.verified.txt index b6eacd384a..b2ae18e888 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/oQTi0amgPS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/oQTi0amgPS.verified.txt @@ -368,14 +368,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ob9wFUFWgV.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ob9wFUFWgV.verified.txt index 42b197eac6..e131ccdfa7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ob9wFUFWgV.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ob9wFUFWgV.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ogC3zFKxHT.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ogC3zFKxHT.verified.txt index eee1d6ea07..eae27f2af8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ogC3zFKxHT.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ogC3zFKxHT.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/olJhMnzuPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/olJhMnzuPz.verified.txt index 943451a058..1be9ad322b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/olJhMnzuPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/olJhMnzuPz.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ono9JkTnAN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ono9JkTnAN.verified.txt index 5207f678c1..32053bdfc2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ono9JkTnAN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/ono9JkTnAN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pZUfYns8zh.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pZUfYns8zh.verified.txt index cc262b473d..8629b46f48 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pZUfYns8zh.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pZUfYns8zh.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pjuiUy9p39.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pjuiUy9p39.verified.txt index c57af0cf9f..2860fb1fb7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pjuiUy9p39.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/pjuiUy9p39.verified.txt @@ -261,14 +261,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/puxvvYTSLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/puxvvYTSLO.verified.txt index 1bc0b1283e..99d9f567f6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/puxvvYTSLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/puxvvYTSLO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFU7Z1nijR.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFU7Z1nijR.verified.txt index 500f65bd28..8c27e4a186 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFU7Z1nijR.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFU7Z1nijR.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFoSkj7T13.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFoSkj7T13.verified.txt index 0186cdc28f..519db7eb3b 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFoSkj7T13.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qFoSkj7T13.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qJTnnQqF2F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qJTnnQqF2F.verified.txt index cb828ce564..d6d7835250 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qJTnnQqF2F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qJTnnQqF2F.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qKD0Cb8gIA.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qKD0Cb8gIA.verified.txt index ba10f0897b..afc7b37bee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qKD0Cb8gIA.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qKD0Cb8gIA.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qLOlAXYfVi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qLOlAXYfVi.verified.txt index bac97c3289..44ceb32495 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qLOlAXYfVi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qLOlAXYfVi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qRU3nCwt2Q.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qRU3nCwt2Q.verified.txt index 2776a26004..e5ca0244cd 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qRU3nCwt2Q.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/qRU3nCwt2Q.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rWqAPGZL5x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rWqAPGZL5x.verified.txt index bbe48d64dc..d264790b3d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rWqAPGZL5x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rWqAPGZL5x.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/reeO7MFnmp.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/reeO7MFnmp.verified.txt index 261c182ba5..82d3be0353 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/reeO7MFnmp.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/reeO7MFnmp.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rjKVwCkFkr.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rjKVwCkFkr.verified.txt index 1a241484d6..277f5b271c 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rjKVwCkFkr.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rjKVwCkFkr.verified.txt @@ -425,14 +425,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rkBgJGfViS.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rkBgJGfViS.verified.txt index b57383aee3..0facb64982 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rkBgJGfViS.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/rkBgJGfViS.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sDmT7Ipq8w.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sDmT7Ipq8w.verified.txt index 70bae0a291..43246752f3 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sDmT7Ipq8w.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sDmT7Ipq8w.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sNBhPvC0ZD.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sNBhPvC0ZD.verified.txt index 71d39498d7..3a3ee5b18d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sNBhPvC0ZD.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sNBhPvC0ZD.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/saA0rCxOId.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/saA0rCxOId.verified.txt index 0fbe48bd3d..05f07b7f18 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/saA0rCxOId.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/saA0rCxOId.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sqUxc6SwA4.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sqUxc6SwA4.verified.txt index dbb291aabd..b951642594 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sqUxc6SwA4.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/sqUxc6SwA4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tZxLYsMc7s.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tZxLYsMc7s.verified.txt index cc07c73ea7..c806997f25 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tZxLYsMc7s.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tZxLYsMc7s.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/taNk0UiCPi.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/taNk0UiCPi.verified.txt index d8275a7113..a90d420cdb 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/taNk0UiCPi.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/taNk0UiCPi.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tep4bS6Kf1.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tep4bS6Kf1.verified.txt index c2766fa09b..55786bc135 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tep4bS6Kf1.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tep4bS6Kf1.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/thnPc0KPMs.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/thnPc0KPMs.verified.txt index fd678fdc5b..497d0369f2 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/thnPc0KPMs.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/thnPc0KPMs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tiGNpHQWuQ.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tiGNpHQWuQ.verified.txt index b0e60072f6..c7af138342 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tiGNpHQWuQ.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/tiGNpHQWuQ.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKnQqNmYCb.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKnQqNmYCb.verified.txt index d13e732ca4..8274adb2ee 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKnQqNmYCb.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKnQqNmYCb.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKxa9dnwxN.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKxa9dnwxN.verified.txt index c6e93f1c87..8b505e2164 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKxa9dnwxN.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/uKxa9dnwxN.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/v1Rhgo3OFM.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/v1Rhgo3OFM.verified.txt index 1c80785fe1..992a2e8e6d 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/v1Rhgo3OFM.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/v1Rhgo3OFM.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vFikwMxO6k.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vFikwMxO6k.verified.txt index 70a7bbab64..e9f7eba2ac 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vFikwMxO6k.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vFikwMxO6k.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vjSFj06YzO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vjSFj06YzO.verified.txt index e80e0c136f..72590244ad 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vjSFj06YzO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vjSFj06YzO.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vzFNnv2Src.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vzFNnv2Src.verified.txt index aae3077bbf..88e0824af7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vzFNnv2Src.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/vzFNnv2Src.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/w7Te0wz04x.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/w7Te0wz04x.verified.txt index 09808cd85c..b93c91ba54 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/w7Te0wz04x.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/w7Te0wz04x.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/whzkVog54E.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/whzkVog54E.verified.txt index 888001706c..1ed2ade071 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/whzkVog54E.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/whzkVog54E.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/wsGKCM8fa3.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/wsGKCM8fa3.verified.txt index 22053567bc..fc0f7dea70 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/wsGKCM8fa3.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/wsGKCM8fa3.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xAdDoA2n0F.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xAdDoA2n0F.verified.txt index a7aa592f0e..9abdbc3ff9 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xAdDoA2n0F.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xAdDoA2n0F.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xK8UDd7XMx.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xK8UDd7XMx.verified.txt index 51c914b2a4..90b6bbd5d1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xK8UDd7XMx.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xK8UDd7XMx.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xNrbVapWwv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xNrbVapWwv.verified.txt index f4b9802178..b01f0be1c1 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xNrbVapWwv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xNrbVapWwv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xdivY90KyF.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xdivY90KyF.verified.txt index f41915f462..a5d1ca3fc7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xdivY90KyF.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xdivY90KyF.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xrqw8zdbit.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xrqw8zdbit.verified.txt index b959533fd5..685d0e1901 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xrqw8zdbit.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xrqw8zdbit.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xtJmjxTvLO.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xtJmjxTvLO.verified.txt index 5bb72b4f22..00cb61aa43 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xtJmjxTvLO.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/xtJmjxTvLO.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z5GMR6FT65.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z5GMR6FT65.verified.txt index 074240740f..17c7afad15 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z5GMR6FT65.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z5GMR6FT65.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z9IRzE0Kf5.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z9IRzE0Kf5.verified.txt index 8fb7f54df1..bb7941dd79 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z9IRzE0Kf5.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/z9IRzE0Kf5.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zIETLgBv7L.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zIETLgBv7L.verified.txt index dcbeb183ac..1bd04f47ae 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zIETLgBv7L.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zIETLgBv7L.verified.txt @@ -423,14 +423,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zLA7TqTKPz.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zLA7TqTKPz.verified.txt index 4ee753e7d6..f7a9f598c7 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zLA7TqTKPz.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zLA7TqTKPz.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zdGbJHTnbv.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zdGbJHTnbv.verified.txt index bd831721a2..331584a1e6 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zdGbJHTnbv.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zdGbJHTnbv.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zh3XlzyPIq.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zh3XlzyPIq.verified.txt index e11ef5cf59..9a0a2d05c8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zh3XlzyPIq.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zh3XlzyPIq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zxcjLWzZLy.verified.txt b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zxcjLWzZLy.verified.txt index 2fb4ef0a6e..85c775fcb8 100644 --- a/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zxcjLWzZLy.verified.txt +++ b/tests/SnapshotTests/GenerationPermutations/snapshots/snap-v9.0/zxcjLWzZLy.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/053zeEsieC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/053zeEsieC.verified.txt index 0af41e4f79..89f9a0ab27 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/053zeEsieC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/053zeEsieC.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0BpG2I4yxY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0BpG2I4yxY.verified.txt index 844d01cd3a..36e76df4f8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0BpG2I4yxY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0BpG2I4yxY.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0CslIVGg5S.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0CslIVGg5S.verified.txt index 9f45bc252c..803643740a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0CslIVGg5S.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0CslIVGg5S.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0R6m6Lq8LK.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0R6m6Lq8LK.verified.txt index db9e40aad7..c9d5a0329e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0R6m6Lq8LK.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0R6m6Lq8LK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0RqDCSNFog.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0RqDCSNFog.verified.txt index 4561a06de9..ec0ed9789d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0RqDCSNFog.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/0RqDCSNFog.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1E1K8TfGLS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1E1K8TfGLS.verified.txt index 9c6f4907c0..bc2d8c8236 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1E1K8TfGLS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1E1K8TfGLS.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1s8v63FI3y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1s8v63FI3y.verified.txt index 2bfbb97ae1..edfbea0174 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1s8v63FI3y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1s8v63FI3y.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1tAYqWki7y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1tAYqWki7y.verified.txt index 2ba67f23f5..3e4951ef66 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1tAYqWki7y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/1tAYqWki7y.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/2QwB4OBlPd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/2QwB4OBlPd.verified.txt index 110e4990f4..825403fc18 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/2QwB4OBlPd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/2QwB4OBlPd.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/3FhdxzDrF1.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/3FhdxzDrF1.verified.txt index 9296706479..73ae2b6129 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/3FhdxzDrF1.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/3FhdxzDrF1.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/42jsR1utHN.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/42jsR1utHN.verified.txt index 9bddd6c2e5..6d44e7ed21 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/42jsR1utHN.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/42jsR1utHN.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/586QCUKzuY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/586QCUKzuY.verified.txt index 6bc1ad0055..f7b4849e3b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/586QCUKzuY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/586QCUKzuY.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5KiiPjTz6U.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5KiiPjTz6U.verified.txt index 52476fadf7..f333aec339 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5KiiPjTz6U.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5KiiPjTz6U.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5M82EhAUsD.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5M82EhAUsD.verified.txt index 52e36b58f7..e56a964778 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5M82EhAUsD.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/5M82EhAUsD.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6JFxrFiJxO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6JFxrFiJxO.verified.txt index 4ba1b413f8..2fd001e1af 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6JFxrFiJxO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6JFxrFiJxO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6KXrIPQYGk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6KXrIPQYGk.verified.txt index 634562d322..4643edf053 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6KXrIPQYGk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6KXrIPQYGk.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6caxrTgwhY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6caxrTgwhY.verified.txt index ee9d70c73a..178b7f2008 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6caxrTgwhY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/6caxrTgwhY.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8VXB2Ayw8Q.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8VXB2Ayw8Q.verified.txt index 17d4e94fc3..461fe922c6 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8VXB2Ayw8Q.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8VXB2Ayw8Q.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8fNZ4zpBYn.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8fNZ4zpBYn.verified.txt index 6081cef738..f8b69d2117 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8fNZ4zpBYn.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/8fNZ4zpBYn.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AU58NmCvnx.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AU58NmCvnx.verified.txt index 7c6165fcf4..f2bee5211b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AU58NmCvnx.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AU58NmCvnx.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AcKUj1F3Tb.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AcKUj1F3Tb.verified.txt index cba0afe4ea..b5cfac772c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AcKUj1F3Tb.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AcKUj1F3Tb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AjA4jZWDKX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AjA4jZWDKX.verified.txt index c31c167c6c..6c26ce1977 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AjA4jZWDKX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/AjA4jZWDKX.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Av9N6Sq8Lh.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Av9N6Sq8Lh.verified.txt index 31f6eeca71..66a75ccd06 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Av9N6Sq8Lh.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Av9N6Sq8Lh.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/B9CfOvgNmu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/B9CfOvgNmu.verified.txt index 71319fb93c..576e6aa0d3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/B9CfOvgNmu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/B9CfOvgNmu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BoDQOstiSI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BoDQOstiSI.verified.txt index 768c7f4bf5..e44ce1fa8b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BoDQOstiSI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BoDQOstiSI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BqFY0WsDEa.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BqFY0WsDEa.verified.txt index fb7d5a7f0a..fb67c063fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BqFY0WsDEa.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/BqFY0WsDEa.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DMk4sP4UPW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DMk4sP4UPW.verified.txt index a7a303cdb7..1f7227bb64 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DMk4sP4UPW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DMk4sP4UPW.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DrsPm7DP3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DrsPm7DP3k.verified.txt index dd8bd9ec74..4581865945 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DrsPm7DP3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/DrsPm7DP3k.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Exf7jjqCbv.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Exf7jjqCbv.verified.txt index 94375c0973..346b41c523 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Exf7jjqCbv.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Exf7jjqCbv.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Gha9LccuQr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Gha9LccuQr.verified.txt index 3a6cda59e7..02737ebd71 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Gha9LccuQr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Gha9LccuQr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/HfNcX4bazW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/HfNcX4bazW.verified.txt index 415bc849b3..c5b39d065e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/HfNcX4bazW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/HfNcX4bazW.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Ij93BXTf3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Ij93BXTf3P.verified.txt index d9ac791c13..e636b96c51 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Ij93BXTf3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Ij93BXTf3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/IsdKHmH8ZO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/IsdKHmH8ZO.verified.txt index f19231aba4..ba8ddc070f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/IsdKHmH8ZO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/IsdKHmH8ZO.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/JGQcIwqrp5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/JGQcIwqrp5.verified.txt index 691ee9586a..e444c4cb05 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/JGQcIwqrp5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/JGQcIwqrp5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KGcT6ny3z8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KGcT6ny3z8.verified.txt index 8f4a3cd7e5..d7dfa3e0da 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KGcT6ny3z8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KGcT6ny3z8.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KdK6TTDQpk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KdK6TTDQpk.verified.txt index 09cbc459c7..d948e150c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KdK6TTDQpk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/KdK6TTDQpk.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/L8Qwq7xd6g.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/L8Qwq7xd6g.verified.txt index 1aa5a6e7bc..38529ee629 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/L8Qwq7xd6g.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/L8Qwq7xd6g.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/MSV0dHoxRR.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/MSV0dHoxRR.verified.txt index 57fc614627..d95ced2fcd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/MSV0dHoxRR.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/MSV0dHoxRR.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Mq0VWWpvE3.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Mq0VWWpvE3.verified.txt index 2ce6ccf96e..37a4ced65c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Mq0VWWpvE3.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Mq0VWWpvE3.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/NUHROXiOt9.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/NUHROXiOt9.verified.txt index e4bc0fa04b..132c3501f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/NUHROXiOt9.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/NUHROXiOt9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ODZPh5VKmQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ODZPh5VKmQ.verified.txt index dcd5313460..1b2ad72286 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ODZPh5VKmQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ODZPh5VKmQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OQn3KMfq8O.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OQn3KMfq8O.verified.txt index 854bb8b041..81143126e5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OQn3KMfq8O.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OQn3KMfq8O.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OYgPnr58zz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OYgPnr58zz.verified.txt index c5dc7ad08d..7a2c59820a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OYgPnr58zz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/OYgPnr58zz.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/P0kH8h5YNm.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/P0kH8h5YNm.verified.txt index d75993eb35..7954451afc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/P0kH8h5YNm.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/P0kH8h5YNm.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/PxEFTla44K.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/PxEFTla44K.verified.txt index a818239b27..1f0edb0a04 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/PxEFTla44K.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/PxEFTla44K.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/QEK7ZZbYP4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/QEK7ZZbYP4.verified.txt index 55bf4bc4c0..741d2eb635 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/QEK7ZZbYP4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/QEK7ZZbYP4.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Qjb7OvpJGM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Qjb7OvpJGM.verified.txt index e292e2121a..a4483bcde3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Qjb7OvpJGM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Qjb7OvpJGM.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/RzGOkt36y2.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/RzGOkt36y2.verified.txt index 781faa1031..618abb9ab1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/RzGOkt36y2.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/RzGOkt36y2.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SqWXbp45GX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SqWXbp45GX.verified.txt index f3f3bf867b..9828f0891b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SqWXbp45GX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SqWXbp45GX.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SsGgNd5B8V.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SsGgNd5B8V.verified.txt index bdfd1e86d4..c42ee4edc3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SsGgNd5B8V.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/SsGgNd5B8V.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/TIVEvd3AIr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/TIVEvd3AIr.verified.txt index bd761d8ff5..10f2828933 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/TIVEvd3AIr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/TIVEvd3AIr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tv0GIcU4dr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tv0GIcU4dr.verified.txt index c8dcd979f8..104e18b142 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tv0GIcU4dr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tv0GIcU4dr.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tw02GMGqV0.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tw02GMGqV0.verified.txt index 750f200d4f..60750cf121 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tw02GMGqV0.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Tw02GMGqV0.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/U9lSTlPQ9m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/U9lSTlPQ9m.verified.txt index 8596740c5f..cc48e094d5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/U9lSTlPQ9m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/U9lSTlPQ9m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/UR8bRKxIh8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/UR8bRKxIh8.verified.txt index b89b3e1fef..dcff5bb381 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/UR8bRKxIh8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/UR8bRKxIh8.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/VtUhjYMkUS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/VtUhjYMkUS.verified.txt index 644559229d..21c514f179 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/VtUhjYMkUS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/VtUhjYMkUS.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WGRJoU5fCo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WGRJoU5fCo.verified.txt index e9637d4bcd..faadd9cf68 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WGRJoU5fCo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WGRJoU5fCo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WSIrBbvm4f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WSIrBbvm4f.verified.txt index fb23cfd25d..a7c0bbb61c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WSIrBbvm4f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WSIrBbvm4f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WmDHtRlcwL.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WmDHtRlcwL.verified.txt index 5942b6c253..1c83a169cf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WmDHtRlcwL.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WmDHtRlcwL.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WtlxugEJzV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WtlxugEJzV.verified.txt index a29f56a662..b3d14f2862 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WtlxugEJzV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/WtlxugEJzV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Wwl28QbOnP.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Wwl28QbOnP.verified.txt index 70e3913f67..b18a73874b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Wwl28QbOnP.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Wwl28QbOnP.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/XnTTtRBL3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/XnTTtRBL3k.verified.txt index 11f2b23cb8..ad77dc9c75 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/XnTTtRBL3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/XnTTtRBL3k.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y6HbUlQw2f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y6HbUlQw2f.verified.txt index 1dfa53f38c..ed0bf8602f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y6HbUlQw2f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y6HbUlQw2f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y8jsEhnMiC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y8jsEhnMiC.verified.txt index b2236c7e44..0164387025 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y8jsEhnMiC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/Y8jsEhnMiC.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YU1dZxoWhI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YU1dZxoWhI.verified.txt index 944002c4c2..465296b5ba 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YU1dZxoWhI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YU1dZxoWhI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YhhvsLFmsk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YhhvsLFmsk.verified.txt index 1a681d0af3..ef80051e83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YhhvsLFmsk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YhhvsLFmsk.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YvCLiaKXcU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YvCLiaKXcU.verified.txt index c5d75486c0..7a0a89d29f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YvCLiaKXcU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/YvCLiaKXcU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZaFOPIWhda.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZaFOPIWhda.verified.txt index b09e9454fa..91edaa63b4 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZaFOPIWhda.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZaFOPIWhda.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZfWByV0Ejo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZfWByV0Ejo.verified.txt index da1e8c35b9..1ffad9f462 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZfWByV0Ejo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ZfWByV0Ejo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/aN9Jr4ibHA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/aN9Jr4ibHA.verified.txt index 4f317f886e..900ff27a3e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/aN9Jr4ibHA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/aN9Jr4ibHA.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bFTiGJW113.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bFTiGJW113.verified.txt index 25c04ef734..7a2a934f25 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bFTiGJW113.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bFTiGJW113.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bb0fFo44dj.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bb0fFo44dj.verified.txt index d4558ce1b4..f2a3a05645 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bb0fFo44dj.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/bb0fFo44dj.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cIAUrHteJI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cIAUrHteJI.verified.txt index 4caba6f4be..2f9d66bb83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cIAUrHteJI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cIAUrHteJI.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cUCapL8Bg7.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cUCapL8Bg7.verified.txt index 8d97994392..54a8ea4a9d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cUCapL8Bg7.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/cUCapL8Bg7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ckXdtxvUJf.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ckXdtxvUJf.verified.txt index e37a1e00eb..1e881492f0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ckXdtxvUJf.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ckXdtxvUJf.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dTwZEZeVhu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dTwZEZeVhu.verified.txt index aa53bd9c68..3e29e76c83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dTwZEZeVhu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dTwZEZeVhu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/daObm1WN1X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/daObm1WN1X.verified.txt index 98b6bbab36..f039b5fd11 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/daObm1WN1X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/daObm1WN1X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dd4Vemd1SQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dd4Vemd1SQ.verified.txt index ebff566236..d225ca42e1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dd4Vemd1SQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/dd4Vemd1SQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/eWeWpra6oE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/eWeWpra6oE.verified.txt index 56d0bd8580..bbbdd2f1c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/eWeWpra6oE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/eWeWpra6oE.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/edowZi17Nt.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/edowZi17Nt.verified.txt index 618ac69b0a..70f86dda08 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/edowZi17Nt.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/edowZi17Nt.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ehvWUJ6bTE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ehvWUJ6bTE.verified.txt index 03fdb589d6..2e8b47ad81 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ehvWUJ6bTE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ehvWUJ6bTE.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ekbFOgLVIF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ekbFOgLVIF.verified.txt index 3b9962bf78..f3050059d8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ekbFOgLVIF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ekbFOgLVIF.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/etv2SmYpNg.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/etv2SmYpNg.verified.txt index ba298a111b..2408d339b9 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/etv2SmYpNg.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/etv2SmYpNg.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/fOa6Y3m3Eu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/fOa6Y3m3Eu.verified.txt index c1bcd5d332..eff4516959 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/fOa6Y3m3Eu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/fOa6Y3m3Eu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gUx5SgxGMM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gUx5SgxGMM.verified.txt index 8d871cd7ef..88e5aebb4b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gUx5SgxGMM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gUx5SgxGMM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gkrBfZkKxZ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gkrBfZkKxZ.verified.txt index 492d2b2fd9..7514172ccd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gkrBfZkKxZ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/gkrBfZkKxZ.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hf43WyH4K4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hf43WyH4K4.verified.txt index 530756c8d4..8695db0e5d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hf43WyH4K4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hf43WyH4K4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hj0WlJfIwz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hj0WlJfIwz.verified.txt index d6a257823a..374926aa59 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hj0WlJfIwz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hj0WlJfIwz.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hoOvaacGhM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hoOvaacGhM.verified.txt index 915e1e2911..80ccf5ab90 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hoOvaacGhM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/hoOvaacGhM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jCNZRrSJeB.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jCNZRrSJeB.verified.txt index 084396d4f8..1dc955bd3f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jCNZRrSJeB.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jCNZRrSJeB.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jOciZ9qxzd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jOciZ9qxzd.verified.txt index 2e33f09e5c..31fd91497a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jOciZ9qxzd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jOciZ9qxzd.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jeUmQ6udJS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jeUmQ6udJS.verified.txt index 6c2932099e..423a1095a8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jeUmQ6udJS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/jeUmQ6udJS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/knMeppUMoq.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/knMeppUMoq.verified.txt index bbc3d86fe2..7f937d16d7 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/knMeppUMoq.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/knMeppUMoq.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/l1pUO1qBu4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/l1pUO1qBu4.verified.txt index f8f97b26e5..9a690001fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/l1pUO1qBu4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/l1pUO1qBu4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/oaaU041FrS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/oaaU041FrS.verified.txt index 293e41fd65..8ff07fcedf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/oaaU041FrS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/oaaU041FrS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pB5AVMQH3t.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pB5AVMQH3t.verified.txt index 1c3a9eb92a..a4a7eb6576 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pB5AVMQH3t.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pB5AVMQH3t.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pFY4Y5uxjF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pFY4Y5uxjF.verified.txt index 8f8e4dd1fe..7ae51eb119 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pFY4Y5uxjF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pFY4Y5uxjF.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pX79e97ltV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pX79e97ltV.verified.txt index 82b5cbcedf..0de1fbbcfb 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pX79e97ltV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/pX79e97ltV.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/r5vLbt9RKW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/r5vLbt9RKW.verified.txt index 57ce169fb4..e1aa84e2b8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/r5vLbt9RKW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/r5vLbt9RKW.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rfT15swE8e.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rfT15swE8e.verified.txt index 9fb8f2a07e..677197320a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rfT15swE8e.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rfT15swE8e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rnPGKIUIIA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rnPGKIUIIA.verified.txt index 0e238d511b..d9c0141b52 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rnPGKIUIIA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/rnPGKIUIIA.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ruqXyn7ksT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ruqXyn7ksT.verified.txt index ceab79e435..e75119a6ca 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ruqXyn7ksT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/ruqXyn7ksT.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sKsQk9IsMU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sKsQk9IsMU.verified.txt index ce8bfcd710..864b596f8f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sKsQk9IsMU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sKsQk9IsMU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sRyZHCR4UV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sRyZHCR4UV.verified.txt index ffaa5e6bd7..7283cd1f74 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sRyZHCR4UV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/sRyZHCR4UV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/smbplIhBkI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/smbplIhBkI.verified.txt index dac83ab725..eb56dea62a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/smbplIhBkI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/smbplIhBkI.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/t3luRbTf02.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/t3luRbTf02.verified.txt index db1deabad5..f90d448c62 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/t3luRbTf02.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/t3luRbTf02.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tBDizVbQ5m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tBDizVbQ5m.verified.txt index 69d85f9566..864494d67f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tBDizVbQ5m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tBDizVbQ5m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tPAzB37I2X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tPAzB37I2X.verified.txt index fc72d543fb..f335c4ed14 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tPAzB37I2X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tPAzB37I2X.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tzXccGG5Tl.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tzXccGG5Tl.verified.txt index 0a7543953a..b05d8a418a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tzXccGG5Tl.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/tzXccGG5Tl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/uqdOGwtESu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/uqdOGwtESu.verified.txt index bf51bfa6d2..2f1c1a074a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/uqdOGwtESu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/uqdOGwtESu.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/usIH9bJJLo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/usIH9bJJLo.verified.txt index adbf4b99fd..5260511368 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/usIH9bJJLo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/usIH9bJJLo.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/v7qMYkQ7z4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/v7qMYkQ7z4.verified.txt index db7484c972..9dca2ff28c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/v7qMYkQ7z4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/v7qMYkQ7z4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wushzbJCkF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wushzbJCkF.verified.txt index af522e5e78..3e5b2a233a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wushzbJCkF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wushzbJCkF.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wxPxZkLR1o.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wxPxZkLR1o.verified.txt index 91188d0896..288db87927 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wxPxZkLR1o.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/wxPxZkLR1o.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xMRO2g6DK5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xMRO2g6DK5.verified.txt index 71f3195020..431cb28d1d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xMRO2g6DK5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xMRO2g6DK5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xdXJVrpdqo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xdXJVrpdqo.verified.txt index 4995d56a06..9d9d997030 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xdXJVrpdqo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xdXJVrpdqo.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xwUo9fXdNT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xwUo9fXdNT.verified.txt index ee146c91a1..9de2f31475 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xwUo9fXdNT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/xwUo9fXdNT.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/y2FXDfXVGz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/y2FXDfXVGz.verified.txt index 7073764d22..e012bd3e86 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/y2FXDfXVGz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/y2FXDfXVGz.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yGSI40AZ3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yGSI40AZ3P.verified.txt index 398a11976a..56b904b2f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yGSI40AZ3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yGSI40AZ3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yV1ylwdGBi.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yV1ylwdGBi.verified.txt index f915162d7a..e6d4854886 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yV1ylwdGBi.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0-fr/yV1ylwdGBi.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/053zeEsieC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/053zeEsieC.verified.txt index 0af41e4f79..89f9a0ab27 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/053zeEsieC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/053zeEsieC.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0BpG2I4yxY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0BpG2I4yxY.verified.txt index 844d01cd3a..36e76df4f8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0BpG2I4yxY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0BpG2I4yxY.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0CslIVGg5S.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0CslIVGg5S.verified.txt index 9f45bc252c..803643740a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0CslIVGg5S.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0CslIVGg5S.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0R6m6Lq8LK.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0R6m6Lq8LK.verified.txt index db9e40aad7..c9d5a0329e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0R6m6Lq8LK.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0R6m6Lq8LK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0RqDCSNFog.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0RqDCSNFog.verified.txt index 4561a06de9..ec0ed9789d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0RqDCSNFog.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/0RqDCSNFog.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1E1K8TfGLS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1E1K8TfGLS.verified.txt index 9c6f4907c0..bc2d8c8236 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1E1K8TfGLS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1E1K8TfGLS.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1s8v63FI3y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1s8v63FI3y.verified.txt index 2bfbb97ae1..edfbea0174 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1s8v63FI3y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1s8v63FI3y.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1tAYqWki7y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1tAYqWki7y.verified.txt index 2ba67f23f5..3e4951ef66 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1tAYqWki7y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/1tAYqWki7y.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/2QwB4OBlPd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/2QwB4OBlPd.verified.txt index 110e4990f4..825403fc18 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/2QwB4OBlPd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/2QwB4OBlPd.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/3FhdxzDrF1.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/3FhdxzDrF1.verified.txt index 9296706479..73ae2b6129 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/3FhdxzDrF1.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/3FhdxzDrF1.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/42jsR1utHN.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/42jsR1utHN.verified.txt index 9bddd6c2e5..6d44e7ed21 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/42jsR1utHN.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/42jsR1utHN.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/586QCUKzuY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/586QCUKzuY.verified.txt index 6bc1ad0055..f7b4849e3b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/586QCUKzuY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/586QCUKzuY.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5KiiPjTz6U.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5KiiPjTz6U.verified.txt index 52476fadf7..f333aec339 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5KiiPjTz6U.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5KiiPjTz6U.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5M82EhAUsD.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5M82EhAUsD.verified.txt index 52e36b58f7..e56a964778 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5M82EhAUsD.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/5M82EhAUsD.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6JFxrFiJxO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6JFxrFiJxO.verified.txt index 4ba1b413f8..2fd001e1af 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6JFxrFiJxO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6JFxrFiJxO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6KXrIPQYGk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6KXrIPQYGk.verified.txt index 634562d322..4643edf053 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6KXrIPQYGk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6KXrIPQYGk.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6caxrTgwhY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6caxrTgwhY.verified.txt index ee9d70c73a..178b7f2008 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6caxrTgwhY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/6caxrTgwhY.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8VXB2Ayw8Q.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8VXB2Ayw8Q.verified.txt index 17d4e94fc3..461fe922c6 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8VXB2Ayw8Q.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8VXB2Ayw8Q.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8fNZ4zpBYn.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8fNZ4zpBYn.verified.txt index 6081cef738..f8b69d2117 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8fNZ4zpBYn.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/8fNZ4zpBYn.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AU58NmCvnx.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AU58NmCvnx.verified.txt index 7c6165fcf4..f2bee5211b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AU58NmCvnx.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AU58NmCvnx.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AcKUj1F3Tb.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AcKUj1F3Tb.verified.txt index cba0afe4ea..b5cfac772c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AcKUj1F3Tb.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AcKUj1F3Tb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AjA4jZWDKX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AjA4jZWDKX.verified.txt index c31c167c6c..6c26ce1977 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AjA4jZWDKX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/AjA4jZWDKX.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Av9N6Sq8Lh.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Av9N6Sq8Lh.verified.txt index 31f6eeca71..66a75ccd06 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Av9N6Sq8Lh.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Av9N6Sq8Lh.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/B9CfOvgNmu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/B9CfOvgNmu.verified.txt index 71319fb93c..576e6aa0d3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/B9CfOvgNmu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/B9CfOvgNmu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BoDQOstiSI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BoDQOstiSI.verified.txt index 768c7f4bf5..e44ce1fa8b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BoDQOstiSI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BoDQOstiSI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BqFY0WsDEa.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BqFY0WsDEa.verified.txt index fb7d5a7f0a..fb67c063fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BqFY0WsDEa.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/BqFY0WsDEa.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DMk4sP4UPW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DMk4sP4UPW.verified.txt index a7a303cdb7..1f7227bb64 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DMk4sP4UPW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DMk4sP4UPW.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DrsPm7DP3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DrsPm7DP3k.verified.txt index dd8bd9ec74..4581865945 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DrsPm7DP3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/DrsPm7DP3k.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Exf7jjqCbv.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Exf7jjqCbv.verified.txt index 94375c0973..346b41c523 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Exf7jjqCbv.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Exf7jjqCbv.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Gha9LccuQr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Gha9LccuQr.verified.txt index 3a6cda59e7..02737ebd71 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Gha9LccuQr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Gha9LccuQr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/HfNcX4bazW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/HfNcX4bazW.verified.txt index 415bc849b3..c5b39d065e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/HfNcX4bazW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/HfNcX4bazW.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Ij93BXTf3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Ij93BXTf3P.verified.txt index d9ac791c13..e636b96c51 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Ij93BXTf3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Ij93BXTf3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt index 7213ffc969..1fb6b0f77b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt @@ -622,14 +622,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/IsdKHmH8ZO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/IsdKHmH8ZO.verified.txt index f19231aba4..ba8ddc070f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/IsdKHmH8ZO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/IsdKHmH8ZO.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/JGQcIwqrp5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/JGQcIwqrp5.verified.txt index 691ee9586a..e444c4cb05 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/JGQcIwqrp5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/JGQcIwqrp5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KGcT6ny3z8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KGcT6ny3z8.verified.txt index 8f4a3cd7e5..d7dfa3e0da 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KGcT6ny3z8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KGcT6ny3z8.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KdK6TTDQpk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KdK6TTDQpk.verified.txt index 09cbc459c7..d948e150c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KdK6TTDQpk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/KdK6TTDQpk.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/L8Qwq7xd6g.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/L8Qwq7xd6g.verified.txt index 1aa5a6e7bc..38529ee629 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/L8Qwq7xd6g.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/L8Qwq7xd6g.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/MSV0dHoxRR.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/MSV0dHoxRR.verified.txt index 57fc614627..d95ced2fcd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/MSV0dHoxRR.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/MSV0dHoxRR.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Mq0VWWpvE3.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Mq0VWWpvE3.verified.txt index 2ce6ccf96e..37a4ced65c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Mq0VWWpvE3.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Mq0VWWpvE3.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/NUHROXiOt9.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/NUHROXiOt9.verified.txt index e4bc0fa04b..132c3501f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/NUHROXiOt9.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/NUHROXiOt9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ODZPh5VKmQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ODZPh5VKmQ.verified.txt index dcd5313460..1b2ad72286 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ODZPh5VKmQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ODZPh5VKmQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OQn3KMfq8O.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OQn3KMfq8O.verified.txt index 854bb8b041..81143126e5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OQn3KMfq8O.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OQn3KMfq8O.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OYgPnr58zz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OYgPnr58zz.verified.txt index c5dc7ad08d..7a2c59820a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OYgPnr58zz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/OYgPnr58zz.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/P0kH8h5YNm.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/P0kH8h5YNm.verified.txt index d75993eb35..7954451afc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/P0kH8h5YNm.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/P0kH8h5YNm.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/PxEFTla44K.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/PxEFTla44K.verified.txt index a818239b27..1f0edb0a04 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/PxEFTla44K.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/PxEFTla44K.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/QEK7ZZbYP4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/QEK7ZZbYP4.verified.txt index 55bf4bc4c0..741d2eb635 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/QEK7ZZbYP4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/QEK7ZZbYP4.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Qjb7OvpJGM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Qjb7OvpJGM.verified.txt index e292e2121a..a4483bcde3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Qjb7OvpJGM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Qjb7OvpJGM.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/RzGOkt36y2.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/RzGOkt36y2.verified.txt index 781faa1031..618abb9ab1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/RzGOkt36y2.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/RzGOkt36y2.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SqWXbp45GX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SqWXbp45GX.verified.txt index f3f3bf867b..9828f0891b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SqWXbp45GX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SqWXbp45GX.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SsGgNd5B8V.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SsGgNd5B8V.verified.txt index bdfd1e86d4..c42ee4edc3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SsGgNd5B8V.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/SsGgNd5B8V.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/TIVEvd3AIr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/TIVEvd3AIr.verified.txt index bd761d8ff5..10f2828933 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/TIVEvd3AIr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/TIVEvd3AIr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tv0GIcU4dr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tv0GIcU4dr.verified.txt index c8dcd979f8..104e18b142 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tv0GIcU4dr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tv0GIcU4dr.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tw02GMGqV0.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tw02GMGqV0.verified.txt index 750f200d4f..60750cf121 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tw02GMGqV0.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Tw02GMGqV0.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/U9lSTlPQ9m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/U9lSTlPQ9m.verified.txt index 8596740c5f..cc48e094d5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/U9lSTlPQ9m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/U9lSTlPQ9m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/UR8bRKxIh8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/UR8bRKxIh8.verified.txt index b89b3e1fef..dcff5bb381 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/UR8bRKxIh8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/UR8bRKxIh8.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/VtUhjYMkUS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/VtUhjYMkUS.verified.txt index 644559229d..21c514f179 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/VtUhjYMkUS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/VtUhjYMkUS.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WGRJoU5fCo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WGRJoU5fCo.verified.txt index e9637d4bcd..faadd9cf68 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WGRJoU5fCo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WGRJoU5fCo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WSIrBbvm4f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WSIrBbvm4f.verified.txt index fb23cfd25d..a7c0bbb61c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WSIrBbvm4f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WSIrBbvm4f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WmDHtRlcwL.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WmDHtRlcwL.verified.txt index 5942b6c253..1c83a169cf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WmDHtRlcwL.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WmDHtRlcwL.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WtlxugEJzV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WtlxugEJzV.verified.txt index a29f56a662..b3d14f2862 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WtlxugEJzV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/WtlxugEJzV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Wwl28QbOnP.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Wwl28QbOnP.verified.txt index 70e3913f67..b18a73874b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Wwl28QbOnP.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Wwl28QbOnP.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/XnTTtRBL3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/XnTTtRBL3k.verified.txt index 11f2b23cb8..ad77dc9c75 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/XnTTtRBL3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/XnTTtRBL3k.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y6HbUlQw2f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y6HbUlQw2f.verified.txt index 1dfa53f38c..ed0bf8602f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y6HbUlQw2f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y6HbUlQw2f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y8jsEhnMiC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y8jsEhnMiC.verified.txt index b2236c7e44..0164387025 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y8jsEhnMiC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/Y8jsEhnMiC.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YU1dZxoWhI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YU1dZxoWhI.verified.txt index 944002c4c2..465296b5ba 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YU1dZxoWhI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YU1dZxoWhI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YhhvsLFmsk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YhhvsLFmsk.verified.txt index 1a681d0af3..ef80051e83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YhhvsLFmsk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YhhvsLFmsk.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YvCLiaKXcU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YvCLiaKXcU.verified.txt index c5d75486c0..7a0a89d29f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YvCLiaKXcU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/YvCLiaKXcU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZaFOPIWhda.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZaFOPIWhda.verified.txt index b09e9454fa..91edaa63b4 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZaFOPIWhda.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZaFOPIWhda.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZfWByV0Ejo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZfWByV0Ejo.verified.txt index da1e8c35b9..1ffad9f462 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZfWByV0Ejo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ZfWByV0Ejo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/aN9Jr4ibHA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/aN9Jr4ibHA.verified.txt index 4f317f886e..900ff27a3e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/aN9Jr4ibHA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/aN9Jr4ibHA.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bFTiGJW113.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bFTiGJW113.verified.txt index 25c04ef734..7a2a934f25 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bFTiGJW113.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bFTiGJW113.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bb0fFo44dj.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bb0fFo44dj.verified.txt index d4558ce1b4..f2a3a05645 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bb0fFo44dj.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/bb0fFo44dj.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cIAUrHteJI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cIAUrHteJI.verified.txt index 4caba6f4be..2f9d66bb83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cIAUrHteJI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cIAUrHteJI.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cUCapL8Bg7.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cUCapL8Bg7.verified.txt index 8d97994392..54a8ea4a9d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cUCapL8Bg7.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/cUCapL8Bg7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ckXdtxvUJf.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ckXdtxvUJf.verified.txt index e37a1e00eb..1e881492f0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ckXdtxvUJf.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ckXdtxvUJf.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dTwZEZeVhu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dTwZEZeVhu.verified.txt index aa53bd9c68..3e29e76c83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dTwZEZeVhu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dTwZEZeVhu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/daObm1WN1X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/daObm1WN1X.verified.txt index 98b6bbab36..f039b5fd11 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/daObm1WN1X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/daObm1WN1X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dd4Vemd1SQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dd4Vemd1SQ.verified.txt index ebff566236..d225ca42e1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dd4Vemd1SQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/dd4Vemd1SQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/eWeWpra6oE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/eWeWpra6oE.verified.txt index 56d0bd8580..bbbdd2f1c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/eWeWpra6oE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/eWeWpra6oE.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/edowZi17Nt.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/edowZi17Nt.verified.txt index 618ac69b0a..70f86dda08 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/edowZi17Nt.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/edowZi17Nt.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ehvWUJ6bTE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ehvWUJ6bTE.verified.txt index 03fdb589d6..2e8b47ad81 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ehvWUJ6bTE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ehvWUJ6bTE.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ekbFOgLVIF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ekbFOgLVIF.verified.txt index 3b9962bf78..f3050059d8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ekbFOgLVIF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ekbFOgLVIF.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/etv2SmYpNg.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/etv2SmYpNg.verified.txt index ba298a111b..2408d339b9 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/etv2SmYpNg.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/etv2SmYpNg.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/fOa6Y3m3Eu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/fOa6Y3m3Eu.verified.txt index c1bcd5d332..eff4516959 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/fOa6Y3m3Eu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/fOa6Y3m3Eu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gUx5SgxGMM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gUx5SgxGMM.verified.txt index 8d871cd7ef..88e5aebb4b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gUx5SgxGMM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gUx5SgxGMM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gkrBfZkKxZ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gkrBfZkKxZ.verified.txt index 492d2b2fd9..7514172ccd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gkrBfZkKxZ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/gkrBfZkKxZ.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hf43WyH4K4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hf43WyH4K4.verified.txt index 530756c8d4..8695db0e5d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hf43WyH4K4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hf43WyH4K4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hj0WlJfIwz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hj0WlJfIwz.verified.txt index d6a257823a..374926aa59 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hj0WlJfIwz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hj0WlJfIwz.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hoOvaacGhM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hoOvaacGhM.verified.txt index 915e1e2911..80ccf5ab90 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hoOvaacGhM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/hoOvaacGhM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jCNZRrSJeB.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jCNZRrSJeB.verified.txt index 084396d4f8..1dc955bd3f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jCNZRrSJeB.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jCNZRrSJeB.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jOciZ9qxzd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jOciZ9qxzd.verified.txt index 2e33f09e5c..31fd91497a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jOciZ9qxzd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jOciZ9qxzd.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jeUmQ6udJS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jeUmQ6udJS.verified.txt index 6c2932099e..423a1095a8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jeUmQ6udJS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/jeUmQ6udJS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/knMeppUMoq.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/knMeppUMoq.verified.txt index bbc3d86fe2..7f937d16d7 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/knMeppUMoq.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/knMeppUMoq.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/l1pUO1qBu4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/l1pUO1qBu4.verified.txt index f8f97b26e5..9a690001fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/l1pUO1qBu4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/l1pUO1qBu4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/oaaU041FrS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/oaaU041FrS.verified.txt index 293e41fd65..8ff07fcedf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/oaaU041FrS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/oaaU041FrS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pB5AVMQH3t.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pB5AVMQH3t.verified.txt index 1c3a9eb92a..a4a7eb6576 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pB5AVMQH3t.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pB5AVMQH3t.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pFY4Y5uxjF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pFY4Y5uxjF.verified.txt index 8f8e4dd1fe..7ae51eb119 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pFY4Y5uxjF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pFY4Y5uxjF.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pX79e97ltV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pX79e97ltV.verified.txt index 82b5cbcedf..0de1fbbcfb 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pX79e97ltV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/pX79e97ltV.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/r5vLbt9RKW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/r5vLbt9RKW.verified.txt index 57ce169fb4..e1aa84e2b8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/r5vLbt9RKW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/r5vLbt9RKW.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rfT15swE8e.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rfT15swE8e.verified.txt index 9fb8f2a07e..677197320a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rfT15swE8e.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rfT15swE8e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rnPGKIUIIA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rnPGKIUIIA.verified.txt index 0e238d511b..d9c0141b52 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rnPGKIUIIA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/rnPGKIUIIA.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ruqXyn7ksT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ruqXyn7ksT.verified.txt index ceab79e435..e75119a6ca 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ruqXyn7ksT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/ruqXyn7ksT.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sKsQk9IsMU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sKsQk9IsMU.verified.txt index ce8bfcd710..864b596f8f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sKsQk9IsMU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sKsQk9IsMU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sRyZHCR4UV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sRyZHCR4UV.verified.txt index ffaa5e6bd7..7283cd1f74 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sRyZHCR4UV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/sRyZHCR4UV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/smbplIhBkI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/smbplIhBkI.verified.txt index dac83ab725..eb56dea62a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/smbplIhBkI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/smbplIhBkI.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/t3luRbTf02.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/t3luRbTf02.verified.txt index db1deabad5..f90d448c62 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/t3luRbTf02.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/t3luRbTf02.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tBDizVbQ5m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tBDizVbQ5m.verified.txt index 69d85f9566..864494d67f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tBDizVbQ5m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tBDizVbQ5m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tPAzB37I2X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tPAzB37I2X.verified.txt index fc72d543fb..f335c4ed14 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tPAzB37I2X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tPAzB37I2X.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tzXccGG5Tl.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tzXccGG5Tl.verified.txt index 0a7543953a..b05d8a418a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tzXccGG5Tl.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/tzXccGG5Tl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/uqdOGwtESu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/uqdOGwtESu.verified.txt index bf51bfa6d2..2f1c1a074a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/uqdOGwtESu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/uqdOGwtESu.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/usIH9bJJLo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/usIH9bJJLo.verified.txt index adbf4b99fd..5260511368 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/usIH9bJJLo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/usIH9bJJLo.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/v7qMYkQ7z4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/v7qMYkQ7z4.verified.txt index db7484c972..9dca2ff28c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/v7qMYkQ7z4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/v7qMYkQ7z4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wushzbJCkF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wushzbJCkF.verified.txt index af522e5e78..3e5b2a233a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wushzbJCkF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wushzbJCkF.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wxPxZkLR1o.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wxPxZkLR1o.verified.txt index 91188d0896..288db87927 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wxPxZkLR1o.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/wxPxZkLR1o.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xMRO2g6DK5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xMRO2g6DK5.verified.txt index 71f3195020..431cb28d1d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xMRO2g6DK5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xMRO2g6DK5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xdXJVrpdqo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xdXJVrpdqo.verified.txt index 4995d56a06..9d9d997030 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xdXJVrpdqo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xdXJVrpdqo.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xwUo9fXdNT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xwUo9fXdNT.verified.txt index ee146c91a1..9de2f31475 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xwUo9fXdNT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/xwUo9fXdNT.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/y2FXDfXVGz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/y2FXDfXVGz.verified.txt index 7073764d22..e012bd3e86 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/y2FXDfXVGz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/y2FXDfXVGz.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yGSI40AZ3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yGSI40AZ3P.verified.txt index 398a11976a..56b904b2f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yGSI40AZ3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yGSI40AZ3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yV1ylwdGBi.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yV1ylwdGBi.verified.txt index f915162d7a..e6d4854886 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yV1ylwdGBi.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v8.0/yV1ylwdGBi.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/053zeEsieC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/053zeEsieC.verified.txt index 0af41e4f79..89f9a0ab27 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/053zeEsieC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/053zeEsieC.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0BpG2I4yxY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0BpG2I4yxY.verified.txt index 844d01cd3a..36e76df4f8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0BpG2I4yxY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0BpG2I4yxY.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0CslIVGg5S.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0CslIVGg5S.verified.txt index 9f45bc252c..803643740a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0CslIVGg5S.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0CslIVGg5S.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0R6m6Lq8LK.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0R6m6Lq8LK.verified.txt index db9e40aad7..c9d5a0329e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0R6m6Lq8LK.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0R6m6Lq8LK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0RqDCSNFog.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0RqDCSNFog.verified.txt index 4561a06de9..ec0ed9789d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0RqDCSNFog.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/0RqDCSNFog.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1E1K8TfGLS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1E1K8TfGLS.verified.txt index 9c6f4907c0..bc2d8c8236 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1E1K8TfGLS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1E1K8TfGLS.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1s8v63FI3y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1s8v63FI3y.verified.txt index 2bfbb97ae1..edfbea0174 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1s8v63FI3y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1s8v63FI3y.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1tAYqWki7y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1tAYqWki7y.verified.txt index 2ba67f23f5..3e4951ef66 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1tAYqWki7y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/1tAYqWki7y.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/2QwB4OBlPd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/2QwB4OBlPd.verified.txt index 110e4990f4..825403fc18 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/2QwB4OBlPd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/2QwB4OBlPd.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/3FhdxzDrF1.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/3FhdxzDrF1.verified.txt index 9296706479..73ae2b6129 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/3FhdxzDrF1.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/3FhdxzDrF1.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/42jsR1utHN.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/42jsR1utHN.verified.txt index 9bddd6c2e5..6d44e7ed21 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/42jsR1utHN.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/42jsR1utHN.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/586QCUKzuY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/586QCUKzuY.verified.txt index 6bc1ad0055..f7b4849e3b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/586QCUKzuY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/586QCUKzuY.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5KiiPjTz6U.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5KiiPjTz6U.verified.txt index 52476fadf7..f333aec339 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5KiiPjTz6U.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5KiiPjTz6U.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5M82EhAUsD.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5M82EhAUsD.verified.txt index 52e36b58f7..e56a964778 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5M82EhAUsD.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/5M82EhAUsD.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6JFxrFiJxO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6JFxrFiJxO.verified.txt index 4ba1b413f8..2fd001e1af 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6JFxrFiJxO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6JFxrFiJxO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6KXrIPQYGk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6KXrIPQYGk.verified.txt index 634562d322..4643edf053 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6KXrIPQYGk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6KXrIPQYGk.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6caxrTgwhY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6caxrTgwhY.verified.txt index ee9d70c73a..178b7f2008 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6caxrTgwhY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/6caxrTgwhY.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8VXB2Ayw8Q.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8VXB2Ayw8Q.verified.txt index 17d4e94fc3..461fe922c6 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8VXB2Ayw8Q.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8VXB2Ayw8Q.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8fNZ4zpBYn.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8fNZ4zpBYn.verified.txt index 6081cef738..f8b69d2117 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8fNZ4zpBYn.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/8fNZ4zpBYn.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AU58NmCvnx.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AU58NmCvnx.verified.txt index 7c6165fcf4..f2bee5211b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AU58NmCvnx.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AU58NmCvnx.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AcKUj1F3Tb.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AcKUj1F3Tb.verified.txt index cba0afe4ea..b5cfac772c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AcKUj1F3Tb.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AcKUj1F3Tb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AjA4jZWDKX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AjA4jZWDKX.verified.txt index c31c167c6c..6c26ce1977 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AjA4jZWDKX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/AjA4jZWDKX.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Av9N6Sq8Lh.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Av9N6Sq8Lh.verified.txt index 31f6eeca71..66a75ccd06 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Av9N6Sq8Lh.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Av9N6Sq8Lh.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/B9CfOvgNmu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/B9CfOvgNmu.verified.txt index 71319fb93c..576e6aa0d3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/B9CfOvgNmu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/B9CfOvgNmu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BoDQOstiSI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BoDQOstiSI.verified.txt index 768c7f4bf5..e44ce1fa8b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BoDQOstiSI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BoDQOstiSI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BqFY0WsDEa.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BqFY0WsDEa.verified.txt index fb7d5a7f0a..fb67c063fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BqFY0WsDEa.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/BqFY0WsDEa.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DMk4sP4UPW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DMk4sP4UPW.verified.txt index a7a303cdb7..1f7227bb64 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DMk4sP4UPW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DMk4sP4UPW.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DrsPm7DP3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DrsPm7DP3k.verified.txt index dd8bd9ec74..4581865945 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DrsPm7DP3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/DrsPm7DP3k.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Exf7jjqCbv.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Exf7jjqCbv.verified.txt index 94375c0973..346b41c523 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Exf7jjqCbv.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Exf7jjqCbv.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Gha9LccuQr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Gha9LccuQr.verified.txt index 3a6cda59e7..02737ebd71 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Gha9LccuQr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Gha9LccuQr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/HfNcX4bazW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/HfNcX4bazW.verified.txt index 415bc849b3..c5b39d065e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/HfNcX4bazW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/HfNcX4bazW.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Ij93BXTf3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Ij93BXTf3P.verified.txt index d9ac791c13..e636b96c51 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Ij93BXTf3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Ij93BXTf3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/IsdKHmH8ZO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/IsdKHmH8ZO.verified.txt index f19231aba4..ba8ddc070f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/IsdKHmH8ZO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/IsdKHmH8ZO.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/JGQcIwqrp5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/JGQcIwqrp5.verified.txt index 691ee9586a..e444c4cb05 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/JGQcIwqrp5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/JGQcIwqrp5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KGcT6ny3z8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KGcT6ny3z8.verified.txt index 8f4a3cd7e5..d7dfa3e0da 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KGcT6ny3z8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KGcT6ny3z8.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KdK6TTDQpk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KdK6TTDQpk.verified.txt index 09cbc459c7..d948e150c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KdK6TTDQpk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/KdK6TTDQpk.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/L8Qwq7xd6g.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/L8Qwq7xd6g.verified.txt index 1aa5a6e7bc..38529ee629 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/L8Qwq7xd6g.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/L8Qwq7xd6g.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/MSV0dHoxRR.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/MSV0dHoxRR.verified.txt index 57fc614627..d95ced2fcd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/MSV0dHoxRR.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/MSV0dHoxRR.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Mq0VWWpvE3.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Mq0VWWpvE3.verified.txt index 2ce6ccf96e..37a4ced65c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Mq0VWWpvE3.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Mq0VWWpvE3.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/NUHROXiOt9.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/NUHROXiOt9.verified.txt index e4bc0fa04b..132c3501f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/NUHROXiOt9.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/NUHROXiOt9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ODZPh5VKmQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ODZPh5VKmQ.verified.txt index dcd5313460..1b2ad72286 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ODZPh5VKmQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ODZPh5VKmQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OQn3KMfq8O.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OQn3KMfq8O.verified.txt index 854bb8b041..81143126e5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OQn3KMfq8O.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OQn3KMfq8O.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OYgPnr58zz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OYgPnr58zz.verified.txt index c5dc7ad08d..7a2c59820a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OYgPnr58zz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/OYgPnr58zz.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/P0kH8h5YNm.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/P0kH8h5YNm.verified.txt index d75993eb35..7954451afc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/P0kH8h5YNm.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/P0kH8h5YNm.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/PxEFTla44K.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/PxEFTla44K.verified.txt index a818239b27..1f0edb0a04 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/PxEFTla44K.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/PxEFTla44K.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/QEK7ZZbYP4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/QEK7ZZbYP4.verified.txt index 55bf4bc4c0..741d2eb635 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/QEK7ZZbYP4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/QEK7ZZbYP4.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Qjb7OvpJGM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Qjb7OvpJGM.verified.txt index e292e2121a..a4483bcde3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Qjb7OvpJGM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Qjb7OvpJGM.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/RzGOkt36y2.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/RzGOkt36y2.verified.txt index 781faa1031..618abb9ab1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/RzGOkt36y2.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/RzGOkt36y2.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SqWXbp45GX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SqWXbp45GX.verified.txt index f3f3bf867b..9828f0891b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SqWXbp45GX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SqWXbp45GX.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SsGgNd5B8V.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SsGgNd5B8V.verified.txt index bdfd1e86d4..c42ee4edc3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SsGgNd5B8V.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/SsGgNd5B8V.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/TIVEvd3AIr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/TIVEvd3AIr.verified.txt index bd761d8ff5..10f2828933 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/TIVEvd3AIr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/TIVEvd3AIr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tv0GIcU4dr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tv0GIcU4dr.verified.txt index c8dcd979f8..104e18b142 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tv0GIcU4dr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tv0GIcU4dr.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tw02GMGqV0.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tw02GMGqV0.verified.txt index 750f200d4f..60750cf121 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tw02GMGqV0.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Tw02GMGqV0.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/U9lSTlPQ9m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/U9lSTlPQ9m.verified.txt index 8596740c5f..cc48e094d5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/U9lSTlPQ9m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/U9lSTlPQ9m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/UR8bRKxIh8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/UR8bRKxIh8.verified.txt index b89b3e1fef..dcff5bb381 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/UR8bRKxIh8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/UR8bRKxIh8.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/VtUhjYMkUS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/VtUhjYMkUS.verified.txt index 644559229d..21c514f179 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/VtUhjYMkUS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/VtUhjYMkUS.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WGRJoU5fCo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WGRJoU5fCo.verified.txt index e9637d4bcd..faadd9cf68 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WGRJoU5fCo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WGRJoU5fCo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WSIrBbvm4f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WSIrBbvm4f.verified.txt index fb23cfd25d..a7c0bbb61c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WSIrBbvm4f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WSIrBbvm4f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WmDHtRlcwL.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WmDHtRlcwL.verified.txt index 5942b6c253..1c83a169cf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WmDHtRlcwL.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WmDHtRlcwL.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WtlxugEJzV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WtlxugEJzV.verified.txt index a29f56a662..b3d14f2862 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WtlxugEJzV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/WtlxugEJzV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Wwl28QbOnP.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Wwl28QbOnP.verified.txt index 70e3913f67..b18a73874b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Wwl28QbOnP.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Wwl28QbOnP.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/XnTTtRBL3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/XnTTtRBL3k.verified.txt index 11f2b23cb8..ad77dc9c75 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/XnTTtRBL3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/XnTTtRBL3k.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y6HbUlQw2f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y6HbUlQw2f.verified.txt index 1dfa53f38c..ed0bf8602f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y6HbUlQw2f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y6HbUlQw2f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y8jsEhnMiC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y8jsEhnMiC.verified.txt index b2236c7e44..0164387025 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y8jsEhnMiC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/Y8jsEhnMiC.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YU1dZxoWhI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YU1dZxoWhI.verified.txt index 944002c4c2..465296b5ba 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YU1dZxoWhI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YU1dZxoWhI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YhhvsLFmsk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YhhvsLFmsk.verified.txt index 1a681d0af3..ef80051e83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YhhvsLFmsk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YhhvsLFmsk.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YvCLiaKXcU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YvCLiaKXcU.verified.txt index c5d75486c0..7a0a89d29f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YvCLiaKXcU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/YvCLiaKXcU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZaFOPIWhda.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZaFOPIWhda.verified.txt index b09e9454fa..91edaa63b4 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZaFOPIWhda.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZaFOPIWhda.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZfWByV0Ejo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZfWByV0Ejo.verified.txt index da1e8c35b9..1ffad9f462 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZfWByV0Ejo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ZfWByV0Ejo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/aN9Jr4ibHA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/aN9Jr4ibHA.verified.txt index 4f317f886e..900ff27a3e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/aN9Jr4ibHA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/aN9Jr4ibHA.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bFTiGJW113.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bFTiGJW113.verified.txt index 25c04ef734..7a2a934f25 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bFTiGJW113.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bFTiGJW113.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bb0fFo44dj.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bb0fFo44dj.verified.txt index d4558ce1b4..f2a3a05645 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bb0fFo44dj.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/bb0fFo44dj.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cIAUrHteJI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cIAUrHteJI.verified.txt index 4caba6f4be..2f9d66bb83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cIAUrHteJI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cIAUrHteJI.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cUCapL8Bg7.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cUCapL8Bg7.verified.txt index 8d97994392..54a8ea4a9d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cUCapL8Bg7.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/cUCapL8Bg7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ckXdtxvUJf.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ckXdtxvUJf.verified.txt index e37a1e00eb..1e881492f0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ckXdtxvUJf.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ckXdtxvUJf.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dTwZEZeVhu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dTwZEZeVhu.verified.txt index aa53bd9c68..3e29e76c83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dTwZEZeVhu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dTwZEZeVhu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/daObm1WN1X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/daObm1WN1X.verified.txt index 98b6bbab36..f039b5fd11 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/daObm1WN1X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/daObm1WN1X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dd4Vemd1SQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dd4Vemd1SQ.verified.txt index ebff566236..d225ca42e1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dd4Vemd1SQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/dd4Vemd1SQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/eWeWpra6oE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/eWeWpra6oE.verified.txt index 56d0bd8580..bbbdd2f1c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/eWeWpra6oE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/eWeWpra6oE.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/edowZi17Nt.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/edowZi17Nt.verified.txt index 618ac69b0a..70f86dda08 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/edowZi17Nt.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/edowZi17Nt.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ehvWUJ6bTE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ehvWUJ6bTE.verified.txt index 03fdb589d6..2e8b47ad81 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ehvWUJ6bTE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ehvWUJ6bTE.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ekbFOgLVIF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ekbFOgLVIF.verified.txt index 3b9962bf78..f3050059d8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ekbFOgLVIF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ekbFOgLVIF.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/etv2SmYpNg.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/etv2SmYpNg.verified.txt index ba298a111b..2408d339b9 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/etv2SmYpNg.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/etv2SmYpNg.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/fOa6Y3m3Eu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/fOa6Y3m3Eu.verified.txt index c1bcd5d332..eff4516959 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/fOa6Y3m3Eu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/fOa6Y3m3Eu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gUx5SgxGMM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gUx5SgxGMM.verified.txt index 8d871cd7ef..88e5aebb4b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gUx5SgxGMM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gUx5SgxGMM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gkrBfZkKxZ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gkrBfZkKxZ.verified.txt index 492d2b2fd9..7514172ccd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gkrBfZkKxZ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/gkrBfZkKxZ.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hf43WyH4K4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hf43WyH4K4.verified.txt index 530756c8d4..8695db0e5d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hf43WyH4K4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hf43WyH4K4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hj0WlJfIwz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hj0WlJfIwz.verified.txt index d6a257823a..374926aa59 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hj0WlJfIwz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hj0WlJfIwz.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hoOvaacGhM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hoOvaacGhM.verified.txt index 915e1e2911..80ccf5ab90 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hoOvaacGhM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/hoOvaacGhM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jCNZRrSJeB.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jCNZRrSJeB.verified.txt index 084396d4f8..1dc955bd3f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jCNZRrSJeB.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jCNZRrSJeB.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jOciZ9qxzd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jOciZ9qxzd.verified.txt index 2e33f09e5c..31fd91497a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jOciZ9qxzd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jOciZ9qxzd.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jeUmQ6udJS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jeUmQ6udJS.verified.txt index 6c2932099e..423a1095a8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jeUmQ6udJS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/jeUmQ6udJS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/knMeppUMoq.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/knMeppUMoq.verified.txt index bbc3d86fe2..7f937d16d7 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/knMeppUMoq.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/knMeppUMoq.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/l1pUO1qBu4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/l1pUO1qBu4.verified.txt index f8f97b26e5..9a690001fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/l1pUO1qBu4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/l1pUO1qBu4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/oaaU041FrS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/oaaU041FrS.verified.txt index 293e41fd65..8ff07fcedf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/oaaU041FrS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/oaaU041FrS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pB5AVMQH3t.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pB5AVMQH3t.verified.txt index 1c3a9eb92a..a4a7eb6576 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pB5AVMQH3t.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pB5AVMQH3t.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pFY4Y5uxjF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pFY4Y5uxjF.verified.txt index 8f8e4dd1fe..7ae51eb119 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pFY4Y5uxjF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pFY4Y5uxjF.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pX79e97ltV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pX79e97ltV.verified.txt index 82b5cbcedf..0de1fbbcfb 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pX79e97ltV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/pX79e97ltV.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/r5vLbt9RKW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/r5vLbt9RKW.verified.txt index 57ce169fb4..e1aa84e2b8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/r5vLbt9RKW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/r5vLbt9RKW.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rfT15swE8e.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rfT15swE8e.verified.txt index 9fb8f2a07e..677197320a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rfT15swE8e.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rfT15swE8e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rnPGKIUIIA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rnPGKIUIIA.verified.txt index 0e238d511b..d9c0141b52 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rnPGKIUIIA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/rnPGKIUIIA.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ruqXyn7ksT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ruqXyn7ksT.verified.txt index ceab79e435..e75119a6ca 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ruqXyn7ksT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/ruqXyn7ksT.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sKsQk9IsMU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sKsQk9IsMU.verified.txt index ce8bfcd710..864b596f8f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sKsQk9IsMU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sKsQk9IsMU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sRyZHCR4UV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sRyZHCR4UV.verified.txt index ffaa5e6bd7..7283cd1f74 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sRyZHCR4UV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/sRyZHCR4UV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/smbplIhBkI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/smbplIhBkI.verified.txt index dac83ab725..eb56dea62a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/smbplIhBkI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/smbplIhBkI.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/t3luRbTf02.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/t3luRbTf02.verified.txt index db1deabad5..f90d448c62 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/t3luRbTf02.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/t3luRbTf02.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tBDizVbQ5m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tBDizVbQ5m.verified.txt index 69d85f9566..864494d67f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tBDizVbQ5m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tBDizVbQ5m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tPAzB37I2X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tPAzB37I2X.verified.txt index fc72d543fb..f335c4ed14 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tPAzB37I2X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tPAzB37I2X.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tzXccGG5Tl.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tzXccGG5Tl.verified.txt index 0a7543953a..b05d8a418a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tzXccGG5Tl.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/tzXccGG5Tl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/uqdOGwtESu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/uqdOGwtESu.verified.txt index bf51bfa6d2..2f1c1a074a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/uqdOGwtESu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/uqdOGwtESu.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/usIH9bJJLo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/usIH9bJJLo.verified.txt index adbf4b99fd..5260511368 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/usIH9bJJLo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/usIH9bJJLo.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/v7qMYkQ7z4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/v7qMYkQ7z4.verified.txt index db7484c972..9dca2ff28c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/v7qMYkQ7z4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/v7qMYkQ7z4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wushzbJCkF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wushzbJCkF.verified.txt index af522e5e78..3e5b2a233a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wushzbJCkF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wushzbJCkF.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wxPxZkLR1o.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wxPxZkLR1o.verified.txt index 91188d0896..288db87927 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wxPxZkLR1o.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/wxPxZkLR1o.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xMRO2g6DK5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xMRO2g6DK5.verified.txt index 71f3195020..431cb28d1d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xMRO2g6DK5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xMRO2g6DK5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xdXJVrpdqo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xdXJVrpdqo.verified.txt index 4995d56a06..9d9d997030 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xdXJVrpdqo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xdXJVrpdqo.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xwUo9fXdNT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xwUo9fXdNT.verified.txt index ee146c91a1..9de2f31475 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xwUo9fXdNT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/xwUo9fXdNT.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/y2FXDfXVGz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/y2FXDfXVGz.verified.txt index 7073764d22..e012bd3e86 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/y2FXDfXVGz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/y2FXDfXVGz.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yGSI40AZ3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yGSI40AZ3P.verified.txt index 398a11976a..56b904b2f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yGSI40AZ3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yGSI40AZ3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yV1ylwdGBi.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yV1ylwdGBi.verified.txt index f915162d7a..e6d4854886 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yV1ylwdGBi.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0-fr/yV1ylwdGBi.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/053zeEsieC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/053zeEsieC.verified.txt index 0af41e4f79..89f9a0ab27 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/053zeEsieC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/053zeEsieC.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0BpG2I4yxY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0BpG2I4yxY.verified.txt index 844d01cd3a..36e76df4f8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0BpG2I4yxY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0BpG2I4yxY.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0CslIVGg5S.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0CslIVGg5S.verified.txt index 9f45bc252c..803643740a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0CslIVGg5S.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0CslIVGg5S.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0R6m6Lq8LK.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0R6m6Lq8LK.verified.txt index db9e40aad7..c9d5a0329e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0R6m6Lq8LK.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0R6m6Lq8LK.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0RqDCSNFog.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0RqDCSNFog.verified.txt index 4561a06de9..ec0ed9789d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0RqDCSNFog.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/0RqDCSNFog.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1E1K8TfGLS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1E1K8TfGLS.verified.txt index 9c6f4907c0..bc2d8c8236 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1E1K8TfGLS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1E1K8TfGLS.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1s8v63FI3y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1s8v63FI3y.verified.txt index 2bfbb97ae1..edfbea0174 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1s8v63FI3y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1s8v63FI3y.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1tAYqWki7y.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1tAYqWki7y.verified.txt index 2ba67f23f5..3e4951ef66 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1tAYqWki7y.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/1tAYqWki7y.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/2QwB4OBlPd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/2QwB4OBlPd.verified.txt index 110e4990f4..825403fc18 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/2QwB4OBlPd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/2QwB4OBlPd.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/3FhdxzDrF1.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/3FhdxzDrF1.verified.txt index 9296706479..73ae2b6129 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/3FhdxzDrF1.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/3FhdxzDrF1.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/42jsR1utHN.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/42jsR1utHN.verified.txt index 9bddd6c2e5..6d44e7ed21 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/42jsR1utHN.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/42jsR1utHN.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/586QCUKzuY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/586QCUKzuY.verified.txt index 6bc1ad0055..f7b4849e3b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/586QCUKzuY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/586QCUKzuY.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5KiiPjTz6U.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5KiiPjTz6U.verified.txt index 52476fadf7..f333aec339 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5KiiPjTz6U.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5KiiPjTz6U.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5M82EhAUsD.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5M82EhAUsD.verified.txt index 52e36b58f7..e56a964778 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5M82EhAUsD.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/5M82EhAUsD.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6JFxrFiJxO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6JFxrFiJxO.verified.txt index 4ba1b413f8..2fd001e1af 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6JFxrFiJxO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6JFxrFiJxO.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6KXrIPQYGk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6KXrIPQYGk.verified.txt index 634562d322..4643edf053 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6KXrIPQYGk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6KXrIPQYGk.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6caxrTgwhY.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6caxrTgwhY.verified.txt index ee9d70c73a..178b7f2008 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6caxrTgwhY.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/6caxrTgwhY.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8VXB2Ayw8Q.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8VXB2Ayw8Q.verified.txt index 17d4e94fc3..461fe922c6 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8VXB2Ayw8Q.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8VXB2Ayw8Q.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8fNZ4zpBYn.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8fNZ4zpBYn.verified.txt index 6081cef738..f8b69d2117 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8fNZ4zpBYn.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/8fNZ4zpBYn.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AU58NmCvnx.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AU58NmCvnx.verified.txt index 7c6165fcf4..f2bee5211b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AU58NmCvnx.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AU58NmCvnx.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AcKUj1F3Tb.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AcKUj1F3Tb.verified.txt index cba0afe4ea..b5cfac772c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AcKUj1F3Tb.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AcKUj1F3Tb.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AjA4jZWDKX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AjA4jZWDKX.verified.txt index c31c167c6c..6c26ce1977 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AjA4jZWDKX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/AjA4jZWDKX.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Av9N6Sq8Lh.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Av9N6Sq8Lh.verified.txt index 31f6eeca71..66a75ccd06 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Av9N6Sq8Lh.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Av9N6Sq8Lh.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/B9CfOvgNmu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/B9CfOvgNmu.verified.txt index 71319fb93c..576e6aa0d3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/B9CfOvgNmu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/B9CfOvgNmu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BoDQOstiSI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BoDQOstiSI.verified.txt index 768c7f4bf5..e44ce1fa8b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BoDQOstiSI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BoDQOstiSI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BqFY0WsDEa.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BqFY0WsDEa.verified.txt index fb7d5a7f0a..fb67c063fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BqFY0WsDEa.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/BqFY0WsDEa.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DMk4sP4UPW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DMk4sP4UPW.verified.txt index a7a303cdb7..1f7227bb64 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DMk4sP4UPW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DMk4sP4UPW.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DrsPm7DP3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DrsPm7DP3k.verified.txt index dd8bd9ec74..4581865945 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DrsPm7DP3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/DrsPm7DP3k.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Exf7jjqCbv.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Exf7jjqCbv.verified.txt index 94375c0973..346b41c523 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Exf7jjqCbv.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Exf7jjqCbv.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Gha9LccuQr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Gha9LccuQr.verified.txt index 3a6cda59e7..02737ebd71 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Gha9LccuQr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Gha9LccuQr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/HfNcX4bazW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/HfNcX4bazW.verified.txt index 415bc849b3..c5b39d065e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/HfNcX4bazW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/HfNcX4bazW.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Ij93BXTf3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Ij93BXTf3P.verified.txt index d9ac791c13..e636b96c51 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Ij93BXTf3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Ij93BXTf3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt index 7213ffc969..1fb6b0f77b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instance_names_can_have_reserved_keywords.verified.txt @@ -622,14 +622,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/InstanceFieldGenerationTests.Instances_can_be_newed_up_in_the_wrapper_itself.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/IsdKHmH8ZO.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/IsdKHmH8ZO.verified.txt index f19231aba4..ba8ddc070f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/IsdKHmH8ZO.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/IsdKHmH8ZO.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/JGQcIwqrp5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/JGQcIwqrp5.verified.txt index 691ee9586a..e444c4cb05 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/JGQcIwqrp5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/JGQcIwqrp5.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KGcT6ny3z8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KGcT6ny3z8.verified.txt index 8f4a3cd7e5..d7dfa3e0da 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KGcT6ny3z8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KGcT6ny3z8.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KdK6TTDQpk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KdK6TTDQpk.verified.txt index 09cbc459c7..d948e150c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KdK6TTDQpk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/KdK6TTDQpk.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/L8Qwq7xd6g.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/L8Qwq7xd6g.verified.txt index 1aa5a6e7bc..38529ee629 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/L8Qwq7xd6g.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/L8Qwq7xd6g.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/MSV0dHoxRR.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/MSV0dHoxRR.verified.txt index 57fc614627..d95ced2fcd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/MSV0dHoxRR.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/MSV0dHoxRR.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Mq0VWWpvE3.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Mq0VWWpvE3.verified.txt index 2ce6ccf96e..37a4ced65c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Mq0VWWpvE3.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Mq0VWWpvE3.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/NUHROXiOt9.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/NUHROXiOt9.verified.txt index e4bc0fa04b..132c3501f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/NUHROXiOt9.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/NUHROXiOt9.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ODZPh5VKmQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ODZPh5VKmQ.verified.txt index dcd5313460..1b2ad72286 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ODZPh5VKmQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ODZPh5VKmQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OQn3KMfq8O.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OQn3KMfq8O.verified.txt index 854bb8b041..81143126e5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OQn3KMfq8O.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OQn3KMfq8O.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OYgPnr58zz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OYgPnr58zz.verified.txt index c5dc7ad08d..7a2c59820a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OYgPnr58zz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/OYgPnr58zz.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/P0kH8h5YNm.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/P0kH8h5YNm.verified.txt index d75993eb35..7954451afc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/P0kH8h5YNm.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/P0kH8h5YNm.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/PxEFTla44K.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/PxEFTla44K.verified.txt index a818239b27..1f0edb0a04 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/PxEFTla44K.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/PxEFTla44K.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/QEK7ZZbYP4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/QEK7ZZbYP4.verified.txt index 55bf4bc4c0..741d2eb635 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/QEK7ZZbYP4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/QEK7ZZbYP4.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Qjb7OvpJGM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Qjb7OvpJGM.verified.txt index e292e2121a..a4483bcde3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Qjb7OvpJGM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Qjb7OvpJGM.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/RzGOkt36y2.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/RzGOkt36y2.verified.txt index 781faa1031..618abb9ab1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/RzGOkt36y2.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/RzGOkt36y2.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SqWXbp45GX.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SqWXbp45GX.verified.txt index f3f3bf867b..9828f0891b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SqWXbp45GX.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SqWXbp45GX.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SsGgNd5B8V.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SsGgNd5B8V.verified.txt index bdfd1e86d4..c42ee4edc3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SsGgNd5B8V.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/SsGgNd5B8V.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/TIVEvd3AIr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/TIVEvd3AIr.verified.txt index bd761d8ff5..10f2828933 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/TIVEvd3AIr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/TIVEvd3AIr.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tv0GIcU4dr.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tv0GIcU4dr.verified.txt index c8dcd979f8..104e18b142 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tv0GIcU4dr.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tv0GIcU4dr.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tw02GMGqV0.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tw02GMGqV0.verified.txt index 750f200d4f..60750cf121 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tw02GMGqV0.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Tw02GMGqV0.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/U9lSTlPQ9m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/U9lSTlPQ9m.verified.txt index 8596740c5f..cc48e094d5 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/U9lSTlPQ9m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/U9lSTlPQ9m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/UR8bRKxIh8.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/UR8bRKxIh8.verified.txt index b89b3e1fef..dcff5bb381 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/UR8bRKxIh8.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/UR8bRKxIh8.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/VtUhjYMkUS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/VtUhjYMkUS.verified.txt index 644559229d..21c514f179 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/VtUhjYMkUS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/VtUhjYMkUS.verified.txt @@ -279,14 +279,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WGRJoU5fCo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WGRJoU5fCo.verified.txt index e9637d4bcd..faadd9cf68 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WGRJoU5fCo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WGRJoU5fCo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WSIrBbvm4f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WSIrBbvm4f.verified.txt index fb23cfd25d..a7c0bbb61c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WSIrBbvm4f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WSIrBbvm4f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WmDHtRlcwL.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WmDHtRlcwL.verified.txt index 5942b6c253..1c83a169cf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WmDHtRlcwL.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WmDHtRlcwL.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WtlxugEJzV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WtlxugEJzV.verified.txt index a29f56a662..b3d14f2862 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WtlxugEJzV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/WtlxugEJzV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Wwl28QbOnP.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Wwl28QbOnP.verified.txt index 70e3913f67..b18a73874b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Wwl28QbOnP.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Wwl28QbOnP.verified.txt @@ -265,14 +265,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/XnTTtRBL3k.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/XnTTtRBL3k.verified.txt index 11f2b23cb8..ad77dc9c75 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/XnTTtRBL3k.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/XnTTtRBL3k.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y6HbUlQw2f.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y6HbUlQw2f.verified.txt index 1dfa53f38c..ed0bf8602f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y6HbUlQw2f.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y6HbUlQw2f.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y8jsEhnMiC.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y8jsEhnMiC.verified.txt index b2236c7e44..0164387025 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y8jsEhnMiC.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/Y8jsEhnMiC.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YU1dZxoWhI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YU1dZxoWhI.verified.txt index 944002c4c2..465296b5ba 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YU1dZxoWhI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YU1dZxoWhI.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YhhvsLFmsk.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YhhvsLFmsk.verified.txt index 1a681d0af3..ef80051e83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YhhvsLFmsk.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YhhvsLFmsk.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YvCLiaKXcU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YvCLiaKXcU.verified.txt index c5d75486c0..7a0a89d29f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YvCLiaKXcU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/YvCLiaKXcU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZaFOPIWhda.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZaFOPIWhda.verified.txt index b09e9454fa..91edaa63b4 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZaFOPIWhda.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZaFOPIWhda.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZfWByV0Ejo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZfWByV0Ejo.verified.txt index da1e8c35b9..1ffad9f462 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZfWByV0Ejo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ZfWByV0Ejo.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/aN9Jr4ibHA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/aN9Jr4ibHA.verified.txt index 4f317f886e..900ff27a3e 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/aN9Jr4ibHA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/aN9Jr4ibHA.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bFTiGJW113.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bFTiGJW113.verified.txt index 25c04ef734..7a2a934f25 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bFTiGJW113.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bFTiGJW113.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bb0fFo44dj.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bb0fFo44dj.verified.txt index d4558ce1b4..f2a3a05645 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bb0fFo44dj.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/bb0fFo44dj.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cIAUrHteJI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cIAUrHteJI.verified.txt index 4caba6f4be..2f9d66bb83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cIAUrHteJI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cIAUrHteJI.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cUCapL8Bg7.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cUCapL8Bg7.verified.txt index 8d97994392..54a8ea4a9d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cUCapL8Bg7.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/cUCapL8Bg7.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ckXdtxvUJf.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ckXdtxvUJf.verified.txt index e37a1e00eb..1e881492f0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ckXdtxvUJf.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ckXdtxvUJf.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dTwZEZeVhu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dTwZEZeVhu.verified.txt index aa53bd9c68..3e29e76c83 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dTwZEZeVhu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dTwZEZeVhu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/daObm1WN1X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/daObm1WN1X.verified.txt index 98b6bbab36..f039b5fd11 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/daObm1WN1X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/daObm1WN1X.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dd4Vemd1SQ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dd4Vemd1SQ.verified.txt index ebff566236..d225ca42e1 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dd4Vemd1SQ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/dd4Vemd1SQ.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/eWeWpra6oE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/eWeWpra6oE.verified.txt index 56d0bd8580..bbbdd2f1c0 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/eWeWpra6oE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/eWeWpra6oE.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/edowZi17Nt.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/edowZi17Nt.verified.txt index 618ac69b0a..70f86dda08 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/edowZi17Nt.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/edowZi17Nt.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ehvWUJ6bTE.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ehvWUJ6bTE.verified.txt index 03fdb589d6..2e8b47ad81 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ehvWUJ6bTE.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ehvWUJ6bTE.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ekbFOgLVIF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ekbFOgLVIF.verified.txt index 3b9962bf78..f3050059d8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ekbFOgLVIF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ekbFOgLVIF.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/etv2SmYpNg.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/etv2SmYpNg.verified.txt index ba298a111b..2408d339b9 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/etv2SmYpNg.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/etv2SmYpNg.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/fOa6Y3m3Eu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/fOa6Y3m3Eu.verified.txt index c1bcd5d332..eff4516959 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/fOa6Y3m3Eu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/fOa6Y3m3Eu.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gUx5SgxGMM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gUx5SgxGMM.verified.txt index 8d871cd7ef..88e5aebb4b 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gUx5SgxGMM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gUx5SgxGMM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gkrBfZkKxZ.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gkrBfZkKxZ.verified.txt index 492d2b2fd9..7514172ccd 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gkrBfZkKxZ.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/gkrBfZkKxZ.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hf43WyH4K4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hf43WyH4K4.verified.txt index 530756c8d4..8695db0e5d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hf43WyH4K4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hf43WyH4K4.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hj0WlJfIwz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hj0WlJfIwz.verified.txt index d6a257823a..374926aa59 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hj0WlJfIwz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hj0WlJfIwz.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hoOvaacGhM.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hoOvaacGhM.verified.txt index 915e1e2911..80ccf5ab90 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hoOvaacGhM.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/hoOvaacGhM.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jCNZRrSJeB.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jCNZRrSJeB.verified.txt index 084396d4f8..1dc955bd3f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jCNZRrSJeB.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jCNZRrSJeB.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jOciZ9qxzd.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jOciZ9qxzd.verified.txt index 2e33f09e5c..31fd91497a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jOciZ9qxzd.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jOciZ9qxzd.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jeUmQ6udJS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jeUmQ6udJS.verified.txt index 6c2932099e..423a1095a8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jeUmQ6udJS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/jeUmQ6udJS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/knMeppUMoq.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/knMeppUMoq.verified.txt index bbc3d86fe2..7f937d16d7 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/knMeppUMoq.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/knMeppUMoq.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/l1pUO1qBu4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/l1pUO1qBu4.verified.txt index f8f97b26e5..9a690001fc 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/l1pUO1qBu4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/l1pUO1qBu4.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/oaaU041FrS.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/oaaU041FrS.verified.txt index 293e41fd65..8ff07fcedf 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/oaaU041FrS.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/oaaU041FrS.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pB5AVMQH3t.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pB5AVMQH3t.verified.txt index 1c3a9eb92a..a4a7eb6576 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pB5AVMQH3t.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pB5AVMQH3t.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pFY4Y5uxjF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pFY4Y5uxjF.verified.txt index 8f8e4dd1fe..7ae51eb119 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pFY4Y5uxjF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pFY4Y5uxjF.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pX79e97ltV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pX79e97ltV.verified.txt index 82b5cbcedf..0de1fbbcfb 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pX79e97ltV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/pX79e97ltV.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/r5vLbt9RKW.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/r5vLbt9RKW.verified.txt index 57ce169fb4..e1aa84e2b8 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/r5vLbt9RKW.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/r5vLbt9RKW.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rfT15swE8e.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rfT15swE8e.verified.txt index 9fb8f2a07e..677197320a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rfT15swE8e.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rfT15swE8e.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rnPGKIUIIA.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rnPGKIUIIA.verified.txt index 0e238d511b..d9c0141b52 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rnPGKIUIIA.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/rnPGKIUIIA.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ruqXyn7ksT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ruqXyn7ksT.verified.txt index ceab79e435..e75119a6ca 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ruqXyn7ksT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/ruqXyn7ksT.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sKsQk9IsMU.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sKsQk9IsMU.verified.txt index ce8bfcd710..864b596f8f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sKsQk9IsMU.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sKsQk9IsMU.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sRyZHCR4UV.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sRyZHCR4UV.verified.txt index ffaa5e6bd7..7283cd1f74 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sRyZHCR4UV.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/sRyZHCR4UV.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/smbplIhBkI.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/smbplIhBkI.verified.txt index dac83ab725..eb56dea62a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/smbplIhBkI.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/smbplIhBkI.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/t3luRbTf02.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/t3luRbTf02.verified.txt index db1deabad5..f90d448c62 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/t3luRbTf02.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/t3luRbTf02.verified.txt @@ -280,14 +280,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tBDizVbQ5m.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tBDizVbQ5m.verified.txt index 69d85f9566..864494d67f 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tBDizVbQ5m.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tBDizVbQ5m.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tPAzB37I2X.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tPAzB37I2X.verified.txt index fc72d543fb..f335c4ed14 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tPAzB37I2X.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tPAzB37I2X.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tzXccGG5Tl.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tzXccGG5Tl.verified.txt index 0a7543953a..b05d8a418a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tzXccGG5Tl.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/tzXccGG5Tl.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/uqdOGwtESu.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/uqdOGwtESu.verified.txt index bf51bfa6d2..2f1c1a074a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/uqdOGwtESu.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/uqdOGwtESu.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/usIH9bJJLo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/usIH9bJJLo.verified.txt index adbf4b99fd..5260511368 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/usIH9bJJLo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/usIH9bJJLo.verified.txt @@ -263,14 +263,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/v7qMYkQ7z4.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/v7qMYkQ7z4.verified.txt index db7484c972..9dca2ff28c 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/v7qMYkQ7z4.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/v7qMYkQ7z4.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wushzbJCkF.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wushzbJCkF.verified.txt index af522e5e78..3e5b2a233a 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wushzbJCkF.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wushzbJCkF.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wxPxZkLR1o.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wxPxZkLR1o.verified.txt index 91188d0896..288db87927 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wxPxZkLR1o.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/wxPxZkLR1o.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xMRO2g6DK5.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xMRO2g6DK5.verified.txt index 71f3195020..431cb28d1d 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xMRO2g6DK5.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xMRO2g6DK5.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xdXJVrpdqo.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xdXJVrpdqo.verified.txt index 4995d56a06..9d9d997030 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xdXJVrpdqo.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xdXJVrpdqo.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xwUo9fXdNT.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xwUo9fXdNT.verified.txt index ee146c91a1..9de2f31475 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xwUo9fXdNT.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/xwUo9fXdNT.verified.txt @@ -547,14 +547,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/y2FXDfXVGz.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/y2FXDfXVGz.verified.txt index 7073764d22..e012bd3e86 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/y2FXDfXVGz.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/y2FXDfXVGz.verified.txt @@ -532,14 +532,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yGSI40AZ3P.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yGSI40AZ3P.verified.txt index 398a11976a..56b904b2f3 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yGSI40AZ3P.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yGSI40AZ3P.verified.txt @@ -546,14 +546,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yV1ylwdGBi.verified.txt b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yV1ylwdGBi.verified.txt index f915162d7a..e6d4854886 100644 --- a/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yV1ylwdGBi.verified.txt +++ b/tests/SnapshotTests/InstanceFields/snapshots/snap-v9.0/yV1ylwdGBi.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_anywhere.verified.txt b/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_anywhere.verified.txt index 8ac075a2cd..1d5bc0cce0 100644 --- a/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_anywhere.verified.txt +++ b/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_anywhere.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_in_the_Vogen_namespace.verified.txt b/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_in_the_Vogen_namespace.verified.txt index 87b7ba20ed..c37563b2bd 100644 --- a/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_in_the_Vogen_namespace.verified.txt +++ b/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_does_not_write_diagnostics_if___ProduceDiagnostics_class_is_not_present_in_the_Vogen_namespace.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_writes_diagnostics_if___ProduceDiagnostics_class_is_present_in_the_Vogen_namespace.verified.txt b/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_writes_diagnostics_if___ProduceDiagnostics_class_is_present_in_the_Vogen_namespace.verified.txt index a9ed577dbf..23f2c8b11e 100644 --- a/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_writes_diagnostics_if___ProduceDiagnostics_class_is_present_in_the_Vogen_namespace.verified.txt +++ b/tests/SnapshotTests/InternalDiagnostics/snapshots/snap-v8.0/InternalDiagnosticsTests.It_writes_diagnostics_if___ProduceDiagnostics_class_is_present_in_the_Vogen_namespace.verified.txt @@ -524,14 +524,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_02b3c4469da8bcf3.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_02b3c4469da8bcf3.verified.txt index 1c055eafd0..ceee0e0f21 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_02b3c4469da8bcf3.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_02b3c4469da8bcf3.verified.txt @@ -383,14 +383,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_11919b072576dd0b.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_11919b072576dd0b.verified.txt index b6b7c411aa..78131c66a8 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_11919b072576dd0b.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_11919b072576dd0b.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_152db79a4a6294cc.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_152db79a4a6294cc.verified.txt index 5f9e3903f5..c11f5402e0 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_152db79a4a6294cc.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_152db79a4a6294cc.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_180eab2724098a76.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_180eab2724098a76.verified.txt index 7d2c9fd668..c5475ce891 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_180eab2724098a76.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_180eab2724098a76.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_27f9427d955e30d9.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_27f9427d955e30d9.verified.txt index 6e494c8b93..b1a14cec45 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_27f9427d955e30d9.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_27f9427d955e30d9.verified.txt @@ -440,14 +440,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_30c90460a412631d.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_30c90460a412631d.verified.txt index 7d2c9fd668..c5475ce891 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_30c90460a412631d.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_30c90460a412631d.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_5cd412becf8e1bb9.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_5cd412becf8e1bb9.verified.txt index fc2f5afdd0..e2a1308782 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_5cd412becf8e1bb9.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_5cd412becf8e1bb9.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_72da95b4a0a661aa.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_72da95b4a0a661aa.verified.txt index 09e70feec8..666208ad9e 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_72da95b4a0a661aa.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_72da95b4a0a661aa.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_875ea8807fc42733.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_875ea8807fc42733.verified.txt index 2cce585c22..ef5355ea15 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_875ea8807fc42733.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_875ea8807fc42733.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a208bec0efab2582.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a208bec0efab2582.verified.txt index 09e70feec8..666208ad9e 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a208bec0efab2582.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a208bec0efab2582.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a258602a645377ab.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a258602a645377ab.verified.txt index 2cce585c22..ef5355ea15 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a258602a645377ab.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_a258602a645377ab.verified.txt @@ -278,14 +278,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_d36819e608b8e6b4.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_d36819e608b8e6b4.verified.txt index b6b7c411aa..78131c66a8 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_d36819e608b8e6b4.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_d36819e608b8e6b4.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_e2e6e6559d711eb6.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_e2e6e6559d711eb6.verified.txt index b0f7f0765a..f6781155a0 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_e2e6e6559d711eb6.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-v8.0/SwashbuckleTests.Treats_IParsable_primitives_as_strings_e2e6e6559d711eb6.verified.txt @@ -366,14 +366,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_999bbcbfced9b3f8.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_999bbcbfced9b3f8.verified.txt index e38e9b0996..76d3775538 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_999bbcbfced9b3f8.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_999bbcbfced9b3f8.verified.txt @@ -676,14 +676,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1363,14 +1363,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2050,14 +2050,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2737,14 +2737,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_c61bd4ba08e7d371.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_c61bd4ba08e7d371.verified.txt index d67dabbcd8..79db3eee15 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_c61bd4ba08e7d371.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_both_filter_and_MapType_extension_method_c61bd4ba08e7d371.verified.txt @@ -674,14 +674,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1358,14 +1358,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2042,14 +2042,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2726,14 +2726,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_32176bb7ed8221dd.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_32176bb7ed8221dd.verified.txt index c6622239fe..83f7030004 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_32176bb7ed8221dd.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_32176bb7ed8221dd.verified.txt @@ -613,14 +613,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1300,14 +1300,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1987,14 +1987,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2674,14 +2674,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_999bbcbfced9b3f8.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_999bbcbfced9b3f8.verified.txt index f739672c00..c1848313a9 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_999bbcbfced9b3f8.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_999bbcbfced9b3f8.verified.txt @@ -613,14 +613,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1300,14 +1300,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1987,14 +1987,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2674,14 +2674,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_c61bd4ba08e7d371.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_c61bd4ba08e7d371.verified.txt index 4f32a3b0c3..b4224c56b9 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_c61bd4ba08e7d371.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_extension_method_for_mapping_types_c61bd4ba08e7d371.verified.txt @@ -611,14 +611,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1295,14 +1295,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -1979,14 +1979,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore @@ -2663,14 +2663,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_32176bb7ed8221dd.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_32176bb7ed8221dd.verified.txt index cf43663dfb..e7147ace67 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_32176bb7ed8221dd.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_32176bb7ed8221dd.verified.txt @@ -613,14 +613,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_999bbcbfced9b3f8.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_999bbcbfced9b3f8.verified.txt index 5d0d95a6fe..86555c906d 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_999bbcbfced9b3f8.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_999bbcbfced9b3f8.verified.txt @@ -613,14 +613,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_c61bd4ba08e7d371.verified.txt b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_c61bd4ba08e7d371.verified.txt index f1060b75a2..b15232c62c 100644 --- a/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_c61bd4ba08e7d371.verified.txt +++ b/tests/SnapshotTests/OpenApi/snapshots/snap-vAspNetCore8.0/SwashbuckleTests.Generates_filter_code_c61bd4ba08e7d371.verified.txt @@ -611,14 +611,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Escapes_wrapper_name.verified.txt b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Escapes_wrapper_name.verified.txt index d7e7f39b12..c4886acd81 100644 --- a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Escapes_wrapper_name.verified.txt +++ b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Escapes_wrapper_name.verified.txt @@ -592,14 +592,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_global_attribute_set.verified.txt b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_global_attribute_set.verified.txt index d867ac70f4..770edc8659 100644 --- a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_global_attribute_set.verified.txt +++ b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_global_attribute_set.verified.txt @@ -660,14 +660,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_local_attribute_set.verified.txt b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_local_attribute_set.verified.txt index d867ac70f4..770edc8659 100644 --- a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_local_attribute_set.verified.txt +++ b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Generates_if_local_attribute_set.verified.txt @@ -660,14 +660,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Takes_on_accessibility_of_value_object.verified.txt b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Takes_on_accessibility_of_value_object.verified.txt index 231c39d377..c00e4b841a 100644 --- a/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Takes_on_accessibility_of_value_object.verified.txt +++ b/tests/SnapshotTests/OrleansGeneration/snapshots/snap-v8.0/OrleansGenerationTests.Takes_on_accessibility_of_value_object.verified.txt @@ -660,14 +660,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt index 92bcf55d64..fe98b0d2ca 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt index ae8bb8b4cb..3c9efbbd1a 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt index 3535dffe75..3b6a422d47 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt @@ -508,14 +508,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt index 4c1c652836..b6e0ddc0d2 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt index 34a21bbb28..3a2d64199e 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v8.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Does_not_generate_IParsable_in_versions_of_dotnet_prior_to_7.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt index 92bcf55d64..fe98b0d2ca 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt index 4fd6ef1334..2e8c0e87c4 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Generates_IParsable_for_a_class_wrapping_an_int.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt index ae8bb8b4cb..3c9efbbd1a 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Ignores_TryParse_where_last_parameter_is_not_out.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt index 3535dffe75..3b6a422d47 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_TryParse_method.verified.txt @@ -508,14 +508,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_expression_bodied_method_with_one_parameter.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt index 4c1c652836..b6e0ddc0d2 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skip_user_provided_multiple_Parse_methods.verified.txt @@ -504,14 +504,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt index 34a21bbb28..3a2d64199e 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt index 9204ffc873..ddffe7e4fc 100644 --- a/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt +++ b/tests/SnapshotTests/Parsing/snapshots/snap-v9.0/ParsingTestsForPrimitives.Skips_user_provided_Parse_method_with_one_parameter.verified.txt @@ -517,14 +517,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt index be1122421d..401cbf5a1e 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/0Rjlo8wVsY.verified.txt @@ -361,14 +361,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/ARGteONefa.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/ARGteONefa.verified.txt index 1ac18a5989..ba60412f43 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/ARGteONefa.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/ARGteONefa.verified.txt @@ -357,14 +357,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt index 129d55d33e..0411bf4e9b 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/LZDZ0jdOF6.verified.txt @@ -375,14 +375,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/SOUqLrhomJ.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/SOUqLrhomJ.verified.txt index 0c1132182a..e3cb49752d 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/SOUqLrhomJ.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/SOUqLrhomJ.verified.txt @@ -362,14 +362,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Emits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Emits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt index 42a73bdf59..c171aef84b 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Emits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Emits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt @@ -409,14 +409,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.if_omitted_in_global_config.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.if_omitted_in_global_config.verified.txt index 3cce3f77b1..34a955392b 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.if_omitted_in_global_config.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.if_omitted_in_global_config.verified.txt @@ -342,14 +342,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.it_generates_on_net_8_0_with_no_lang_version_specified.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.it_generates_on_net_8_0_with_no_lang_version_specified.verified.txt index 96cf87867c..6a64ad5a6f 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.it_generates_on_net_8_0_with_no_lang_version_specified.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.it_generates_on_net_8_0_with_no_lang_version_specified.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.when_using_default_global_attribute.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.when_using_default_global_attribute.verified.txt index 5965373684..72765a090e 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.when_using_default_global_attribute.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Generates_nothing.when_using_default_global_attribute.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Omits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Omits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt index eddf23cfca..65848a24ef 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Omits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.Omits_equality_operators_to_primitives_if_specified_in_global_config.verified.txt @@ -396,14 +396,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.when_using_implicit_operators.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.when_using_implicit_operators.verified.txt index 8058947f27..7d79b40179 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.when_using_implicit_operators.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/StaticAbstractTests.when_using_implicit_operators.verified.txt @@ -380,14 +380,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/agNm5bxP65.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/agNm5bxP65.verified.txt index 0c1132182a..e3cb49752d 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/agNm5bxP65.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/agNm5bxP65.verified.txt @@ -362,14 +362,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/as81wtsTdJ.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/as81wtsTdJ.verified.txt index 6c3beec62a..cd997a15b2 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/as81wtsTdJ.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/as81wtsTdJ.verified.txt @@ -353,14 +353,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/cnxagS6vBs.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/cnxagS6vBs.verified.txt index 292b00cd0a..c433ca7895 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/cnxagS6vBs.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/cnxagS6vBs.verified.txt @@ -359,14 +359,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt index 96cf87867c..6a64ad5a6f 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/jXZ79bcjc9.verified.txt @@ -376,14 +376,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/lPx7tKaO9H.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/lPx7tKaO9H.verified.txt index 9aece1b93d..77e3f7ebdc 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/lPx7tKaO9H.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/lPx7tKaO9H.verified.txt @@ -354,14 +354,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/r69L6MTLWN.verified.txt b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/r69L6MTLWN.verified.txt index 2ea203e961..e9a92638a7 100644 --- a/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/r69L6MTLWN.verified.txt +++ b/tests/SnapshotTests/StaticAbstracts/snapshots/snap-v8.0/r69L6MTLWN.verified.txt @@ -359,14 +359,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StringComparison/snapshots/snap-v8.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt b/tests/SnapshotTests/StringComparison/snapshots/snap-v8.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt index 5ee2f38a7c..01c70631f6 100644 --- a/tests/SnapshotTests/StringComparison/snapshots/snap-v8.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt +++ b/tests/SnapshotTests/StringComparison/snapshots/snap-v8.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/StringComparison/snapshots/snap-v9.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt b/tests/SnapshotTests/StringComparison/snapshots/snap-v9.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt index 5ee2f38a7c..01c70631f6 100644 --- a/tests/SnapshotTests/StringComparison/snapshots/snap-v9.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt +++ b/tests/SnapshotTests/StringComparison/snapshots/snap-v9.0/StringComparisonGenerationTests.Does_not_generate_the_equals_method_that_takes_a_StringComparison_when_not_a_string.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/07PcIVuj3q.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/07PcIVuj3q.verified.txt index 6efc4c8ed1..407e8e5cb9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/07PcIVuj3q.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/07PcIVuj3q.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0AQJp5IDiC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0AQJp5IDiC.verified.txt index b0f6fad1d7..e373ac743a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0AQJp5IDiC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0AQJp5IDiC.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0TG0lh6tni.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0TG0lh6tni.verified.txt index 32a5a26430..0e6091474b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0TG0lh6tni.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0TG0lh6tni.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0tfHlhMkfO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0tfHlhMkfO.verified.txt index 24c8cbfbaa..2ee392e190 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0tfHlhMkfO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/0tfHlhMkfO.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1SWmSa7PJy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1SWmSa7PJy.verified.txt index 3105f6fedc..0b503adb65 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1SWmSa7PJy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1SWmSa7PJy.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rQYIQt8I6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rQYIQt8I6.verified.txt index 5837a3035d..a6eff1fca7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rQYIQt8I6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rQYIQt8I6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rhD5hykM2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rhD5hykM2.verified.txt index 669ba71780..93ceb9dadb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rhD5hykM2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/1rhD5hykM2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2KtBdBnyIY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2KtBdBnyIY.verified.txt index c97aab25e0..7f06ca4723 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2KtBdBnyIY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2KtBdBnyIY.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2XBv7DNqeD.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2XBv7DNqeD.verified.txt index 5c518031c2..4927de4742 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2XBv7DNqeD.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2XBv7DNqeD.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2wB3hlJGg4.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2wB3hlJGg4.verified.txt index 8fc5ebbcf9..53f18261d2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2wB3hlJGg4.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/2wB3hlJGg4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4CgOm8yXl7.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4CgOm8yXl7.verified.txt index 0da1fb4e8b..491cefbb1d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4CgOm8yXl7.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4CgOm8yXl7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4NZqTZQOzi.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4NZqTZQOzi.verified.txt index a431f0598f..be15f15ef0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4NZqTZQOzi.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4NZqTZQOzi.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4OehSdKrMZ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4OehSdKrMZ.verified.txt index f186e35ec3..c5664749e6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4OehSdKrMZ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4OehSdKrMZ.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4UZZXyTRag.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4UZZXyTRag.verified.txt index 775a59253f..01ed159f78 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4UZZXyTRag.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4UZZXyTRag.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4betbAbMkf.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4betbAbMkf.verified.txt index fa3950742f..f9f6bfcaae 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4betbAbMkf.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4betbAbMkf.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4w1vBoRiTe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4w1vBoRiTe.verified.txt index ddddb855ab..bec0ae6f45 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4w1vBoRiTe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/4w1vBoRiTe.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/58Q396UffP.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/58Q396UffP.verified.txt index 0992262aff..8781186ca6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/58Q396UffP.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/58Q396UffP.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/5RPC2XJSen.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/5RPC2XJSen.verified.txt index 3922d1b6c9..b204c8e908 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/5RPC2XJSen.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/5RPC2XJSen.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/60dOpSNvpD.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/60dOpSNvpD.verified.txt index e8cabf9640..1aeaa08d10 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/60dOpSNvpD.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/60dOpSNvpD.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/61M15eKnGF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/61M15eKnGF.verified.txt index bdf8514146..bc82fbc26e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/61M15eKnGF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/61M15eKnGF.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6NXqLOZG5g.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6NXqLOZG5g.verified.txt index 8f5e1ae14d..bd70c8f823 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6NXqLOZG5g.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6NXqLOZG5g.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6VTf9OhuIi.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6VTf9OhuIi.verified.txt index 55023d5ac7..9ac8432901 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6VTf9OhuIi.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6VTf9OhuIi.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6lBLHds4lW.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6lBLHds4lW.verified.txt index 8628c70ad5..bf5cc7d500 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6lBLHds4lW.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6lBLHds4lW.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6odZhoWZP6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6odZhoWZP6.verified.txt index ea392eed1f..28b3e7f5a8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6odZhoWZP6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6odZhoWZP6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6rHbdTNizV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6rHbdTNizV.verified.txt index 59346f6919..3cb234d811 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6rHbdTNizV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/6rHbdTNizV.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/77dvv35gv1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/77dvv35gv1.verified.txt index 95b94eeedb..356dc0ed66 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/77dvv35gv1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/77dvv35gv1.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7TYKJ6yq5c.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7TYKJ6yq5c.verified.txt index 9a4c8f2a7a..ed29052e02 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7TYKJ6yq5c.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7TYKJ6yq5c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7hiNp5tlXd.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7hiNp5tlXd.verified.txt index ec32d7c918..93c5799237 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7hiNp5tlXd.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7hiNp5tlXd.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7uqQBgLZTb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7uqQBgLZTb.verified.txt index e585dba801..d72e3e7591 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7uqQBgLZTb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/7uqQBgLZTb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/81sYCnm9HE.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/81sYCnm9HE.verified.txt index 497f35f208..6355de8f74 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/81sYCnm9HE.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/81sYCnm9HE.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8DR3ikhfOm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8DR3ikhfOm.verified.txt index 1bdd7583e9..5a68461a04 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8DR3ikhfOm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8DR3ikhfOm.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8fo8GEnVB2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8fo8GEnVB2.verified.txt index dbec634fd2..e0e19c09b7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8fo8GEnVB2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/8fo8GEnVB2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/98KXr8wANJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/98KXr8wANJ.verified.txt index 668c25d2dd..3fec803068 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/98KXr8wANJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/98KXr8wANJ.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/9vnWwbHGuB.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/9vnWwbHGuB.verified.txt index e0b1c2b2a0..a96fd4177a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/9vnWwbHGuB.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/9vnWwbHGuB.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/A1RTs8eaFm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/A1RTs8eaFm.verified.txt index 65dddab47f..4cd49029c1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/A1RTs8eaFm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/A1RTs8eaFm.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AFMcvpuumD.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AFMcvpuumD.verified.txt index 715872f266..461200dc9a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AFMcvpuumD.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AFMcvpuumD.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AJWzuJoTcL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AJWzuJoTcL.verified.txt index 79a9c429b8..65e9fb62ff 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AJWzuJoTcL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AJWzuJoTcL.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AX8BioT6iw.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AX8BioT6iw.verified.txt index 615732b58f..182d21d21f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AX8BioT6iw.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/AX8BioT6iw.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Acogmgq2tt.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Acogmgq2tt.verified.txt index 7e7573a126..4f28891ee5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Acogmgq2tt.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Acogmgq2tt.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BQCdbuCyxx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BQCdbuCyxx.verified.txt index 3abe3e3c12..10508544d0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BQCdbuCyxx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BQCdbuCyxx.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BbUYWGSZ7t.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BbUYWGSZ7t.verified.txt index bfe8a1f344..ae3b02cb50 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BbUYWGSZ7t.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BbUYWGSZ7t.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bbqck2QQEe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bbqck2QQEe.verified.txt index 11f4cce81b..fb6460875b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bbqck2QQEe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bbqck2QQEe.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bf2SdE1mli.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bf2SdE1mli.verified.txt index edef73a456..ff4926d7dc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bf2SdE1mli.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Bf2SdE1mli.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BfcIQ6QxLT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BfcIQ6QxLT.verified.txt index dde6cff072..94a839e1c9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BfcIQ6QxLT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BfcIQ6QxLT.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BkDNYGeiJO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BkDNYGeiJO.verified.txt index 15c4948940..d3809b6615 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BkDNYGeiJO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/BkDNYGeiJO.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Blr8MnyIft.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Blr8MnyIft.verified.txt index 3eee32faf3..fa52d8d5f3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Blr8MnyIft.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Blr8MnyIft.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/C3aV5bGuhC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/C3aV5bGuhC.verified.txt index e65f1fbd94..6dc3fe0072 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/C3aV5bGuhC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/C3aV5bGuhC.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CCSiro0YY5.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CCSiro0YY5.verified.txt index 830d9970bb..e5bab06c1f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CCSiro0YY5.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CCSiro0YY5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGC6ZHpFxY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGC6ZHpFxY.verified.txt index ec09cc041c..fb6b8e557c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGC6ZHpFxY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGC6ZHpFxY.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGajX33Sr8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGajX33Sr8.verified.txt index 1e984a272d..e9a12f9655 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGajX33Sr8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CGajX33Sr8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CRFQw7hPdX.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CRFQw7hPdX.verified.txt index b8c775a860..40debb115a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CRFQw7hPdX.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CRFQw7hPdX.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CoIV0GGaVk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CoIV0GGaVk.verified.txt index 7d134825a9..4369831301 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CoIV0GGaVk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CoIV0GGaVk.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CpMibF5X1W.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CpMibF5X1W.verified.txt index d5ffd48b78..1bd5864a4a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CpMibF5X1W.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CpMibF5X1W.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CqRvYTDB1D.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CqRvYTDB1D.verified.txt index 6c3912604f..a08930338d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CqRvYTDB1D.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/CqRvYTDB1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DHesPioBFv.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DHesPioBFv.verified.txt index e204597abd..d232f66d8a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DHesPioBFv.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DHesPioBFv.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DR8cGo0Q5y.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DR8cGo0Q5y.verified.txt index 1603822be1..689ddd01f3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DR8cGo0Q5y.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DR8cGo0Q5y.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DVniDzaOiL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DVniDzaOiL.verified.txt index 432c3dd876..0526ebafe9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DVniDzaOiL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DVniDzaOiL.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt index 3290464581..8e48c19129 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt index 5e00afc06a..2c537feb42 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DznfadW3c3.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DznfadW3c3.verified.txt index 5f1f9f4a87..387598f37b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DznfadW3c3.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/DznfadW3c3.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/E5VqeEIBNO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/E5VqeEIBNO.verified.txt index 57da205f3f..cb4fa86275 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/E5VqeEIBNO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/E5VqeEIBNO.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/EfSxmz0hbo.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/EfSxmz0hbo.verified.txt index fb7e82b14b..1de35646b0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/EfSxmz0hbo.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/EfSxmz0hbo.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ez7UHJJDfI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ez7UHJJDfI.verified.txt index e56bf4cd25..2e352d927e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ez7UHJJDfI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ez7UHJJDfI.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F5grs8IkTO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F5grs8IkTO.verified.txt index 0ba5c59ffa..41e78d34d5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F5grs8IkTO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F5grs8IkTO.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F9MZG1XNfF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F9MZG1XNfF.verified.txt index 3d5f2b7616..85cb0ae79e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F9MZG1XNfF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/F9MZG1XNfF.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/FQRBLbisLv.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/FQRBLbisLv.verified.txt index b9c3af4bbe..e5170c172b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/FQRBLbisLv.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/FQRBLbisLv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/G2mouoq1fx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/G2mouoq1fx.verified.txt index 6590d40c1a..1703e7b2bb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/G2mouoq1fx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/G2mouoq1fx.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GFavE8Pkxq.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GFavE8Pkxq.verified.txt index 0b42b2ec20..ad7f5dfbc1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GFavE8Pkxq.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GFavE8Pkxq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GHcjDwl5kc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GHcjDwl5kc.verified.txt index 643d37000d..4656376400 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GHcjDwl5kc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GHcjDwl5kc.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GL0Hi4kg64.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GL0Hi4kg64.verified.txt index d34fd94a5e..691adf6ba1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GL0Hi4kg64.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GL0Hi4kg64.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GTwMaPNJRP.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GTwMaPNJRP.verified.txt index d893778072..2faab0a303 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GTwMaPNJRP.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GTwMaPNJRP.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Gds2GVuXZz.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Gds2GVuXZz.verified.txt index 8c714b1254..5b7833ccc9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Gds2GVuXZz.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Gds2GVuXZz.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GiYPYYoVS0.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GiYPYYoVS0.verified.txt index a97a27358d..d70af964ad 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GiYPYYoVS0.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/GiYPYYoVS0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HKCg9ZpdId.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HKCg9ZpdId.verified.txt index 141605c9a2..b7a4a4a29e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HKCg9ZpdId.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HKCg9ZpdId.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Hl7kEg5sqn.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Hl7kEg5sqn.verified.txt index d426c43ee6..df282e3563 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Hl7kEg5sqn.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Hl7kEg5sqn.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HlUrqFUGJm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HlUrqFUGJm.verified.txt index 14a961433c..bf50342a93 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HlUrqFUGJm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/HlUrqFUGJm.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/I4ufDqNrEj.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/I4ufDqNrEj.verified.txt index bf1fdea247..bc52d8ede2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/I4ufDqNrEj.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/I4ufDqNrEj.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IC9lEzyGyO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IC9lEzyGyO.verified.txt index 57861d2a48..b0e15b8ddb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IC9lEzyGyO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IC9lEzyGyO.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ITWVYMGhio.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ITWVYMGhio.verified.txt index e518627dd0..409f038d47 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ITWVYMGhio.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ITWVYMGhio.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IhlYDME7Fk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IhlYDME7Fk.verified.txt index 5a57fd3743..be1a1f7034 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IhlYDME7Fk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IhlYDME7Fk.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IoqqGOQZNa.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IoqqGOQZNa.verified.txt index 85087611ac..f107d9cce8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IoqqGOQZNa.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IoqqGOQZNa.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/It1qNJDVTk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/It1qNJDVTk.verified.txt index 8dc45945f4..dbd30226ca 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/It1qNJDVTk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/It1qNJDVTk.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IvCHHmVxS1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IvCHHmVxS1.verified.txt index 1197dd3ac3..8db46c8836 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IvCHHmVxS1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/IvCHHmVxS1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iw1DxHVA5v.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iw1DxHVA5v.verified.txt index e4ae8b755f..3c21a41084 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iw1DxHVA5v.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iw1DxHVA5v.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iyq5h18cTS.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iyq5h18cTS.verified.txt index ad2733ff1a..fd7da0e1ee 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iyq5h18cTS.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Iyq5h18cTS.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/J8SezX4ArK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/J8SezX4ArK.verified.txt index a5252f908c..5ecb000445 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/J8SezX4ArK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/J8SezX4ArK.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JSJDzXxsH1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JSJDzXxsH1.verified.txt index 0b59355a8f..fff35ab26b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JSJDzXxsH1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JSJDzXxsH1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JYus242bhT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JYus242bhT.verified.txt index f562b09c87..b0a69a8ad7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JYus242bhT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JYus242bhT.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JoSDZI31Je.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JoSDZI31Je.verified.txt index ac53eaa58c..42947549fc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JoSDZI31Je.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/JoSDZI31Je.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KJHSbH58JJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KJHSbH58JJ.verified.txt index d2771e584c..55aa0eb5e8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KJHSbH58JJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KJHSbH58JJ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KRCL0un4Ho.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KRCL0un4Ho.verified.txt index d7fc8578aa..7500e59424 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KRCL0un4Ho.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KRCL0un4Ho.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KiSa1z2GlF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KiSa1z2GlF.verified.txt index 4b53d947b4..03f7e922e1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KiSa1z2GlF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KiSa1z2GlF.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KzA5jtGUkR.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KzA5jtGUkR.verified.txt index 63517cafd1..981b83c14e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KzA5jtGUkR.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/KzA5jtGUkR.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/L3hO17ehe6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/L3hO17ehe6.verified.txt index 9156944b4f..35cf53088b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/L3hO17ehe6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/L3hO17ehe6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LDqmsqKig9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LDqmsqKig9.verified.txt index 8de28dd315..da12cbdea3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LDqmsqKig9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LDqmsqKig9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LJqcwt4NLf.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LJqcwt4NLf.verified.txt index 1479e031a2..5d8d3afb59 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LJqcwt4NLf.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/LJqcwt4NLf.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/MsUNc6R1Jz.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/MsUNc6R1Jz.verified.txt index c93c411049..7f1a77fb93 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/MsUNc6R1Jz.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/MsUNc6R1Jz.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/NSBfexk9Jx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/NSBfexk9Jx.verified.txt index b9b4e6e43e..30b296a22c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/NSBfexk9Jx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/NSBfexk9Jx.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/O3fNbJ8VN2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/O3fNbJ8VN2.verified.txt index 512e76490c..8ba2ca8ed2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/O3fNbJ8VN2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/O3fNbJ8VN2.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OSRNsrwjyc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OSRNsrwjyc.verified.txt index 90532526a7..2c18e4504b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OSRNsrwjyc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OSRNsrwjyc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OUaHvwIhLb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OUaHvwIhLb.verified.txt index 16415c04dc..4bdde9a5ef 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OUaHvwIhLb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OUaHvwIhLb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Oaehs3N7I7.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Oaehs3N7I7.verified.txt index ce3a868143..3f1f7a4286 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Oaehs3N7I7.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Oaehs3N7I7.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OtozazZj13.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OtozazZj13.verified.txt index cb3d2115f8..0624e60175 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OtozazZj13.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/OtozazZj13.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/P0gu2bg1Qe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/P0gu2bg1Qe.verified.txt index f56ae30530..4ea0c8d2bc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/P0gu2bg1Qe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/P0gu2bg1Qe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PFrt5obmv0.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PFrt5obmv0.verified.txt index aac761128c..61f4f7dc31 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PFrt5obmv0.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PFrt5obmv0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PHRKYq1CdV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PHRKYq1CdV.verified.txt index a9a143fec0..8a57b6371b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PHRKYq1CdV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PHRKYq1CdV.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgElS1hUhE.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgElS1hUhE.verified.txt index 6ad1d472f4..789b98d22c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgElS1hUhE.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgElS1hUhE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgsucSaTfm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgsucSaTfm.verified.txt index 862b04d82c..9c84bbdce7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgsucSaTfm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PgsucSaTfm.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Po8a5Tmus1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Po8a5Tmus1.verified.txt index 5300b64587..c64c5581c6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Po8a5Tmus1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Po8a5Tmus1.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PsgJpdpuQF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PsgJpdpuQF.verified.txt index 6fdea5bcc9..52aed92ad3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PsgJpdpuQF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/PsgJpdpuQF.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/QgzFvrEmoT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/QgzFvrEmoT.verified.txt index 09f1d6919e..9ace456520 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/QgzFvrEmoT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/QgzFvrEmoT.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/R03IKKDGBg.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/R03IKKDGBg.verified.txt index 454bc7a838..4a7d749eb5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/R03IKKDGBg.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/R03IKKDGBg.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RMtpAEyfS3.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RMtpAEyfS3.verified.txt index f67eb757f6..21ee4e9fe4 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RMtpAEyfS3.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RMtpAEyfS3.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RWDP7liIO2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RWDP7liIO2.verified.txt index 349faa74d9..969f3b2901 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RWDP7liIO2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RWDP7liIO2.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RiewHOlB2s.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RiewHOlB2s.verified.txt index d2ac8cffa2..98056a5238 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RiewHOlB2s.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RiewHOlB2s.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RspK5xtodc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RspK5xtodc.verified.txt index 9a4d319057..8f07c320d4 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RspK5xtodc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RspK5xtodc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RuYekxGlPw.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RuYekxGlPw.verified.txt index 2128d6a24c..6d9c91bd20 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RuYekxGlPw.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/RuYekxGlPw.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/S0h3EeJg7X.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/S0h3EeJg7X.verified.txt index 3f215b1232..00a79b3e3c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/S0h3EeJg7X.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/S0h3EeJg7X.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SENkPIqaLa.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SENkPIqaLa.verified.txt index 75ec08f72d..7a311a8675 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SENkPIqaLa.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SENkPIqaLa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SMUJlaxAi6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SMUJlaxAi6.verified.txt index 63f8f783f7..e138dc33f1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SMUJlaxAi6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SMUJlaxAi6.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SVPyMplOJY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SVPyMplOJY.verified.txt index 60e83c7d44..c1e109b8db 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SVPyMplOJY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SVPyMplOJY.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SwRDtR0cOK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SwRDtR0cOK.verified.txt index 6e1948005e..3e55d0ff42 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SwRDtR0cOK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/SwRDtR0cOK.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/TOfsGgooCa.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/TOfsGgooCa.verified.txt index 4c57df9d10..986d570ca7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/TOfsGgooCa.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/TOfsGgooCa.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/UFEoQsxK4b.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/UFEoQsxK4b.verified.txt index 8d7d00378f..982bf2fa76 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/UFEoQsxK4b.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/UFEoQsxK4b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ubg6JJsFwF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ubg6JJsFwF.verified.txt index 56799eb48c..e47d5dfc9d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ubg6JJsFwF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Ubg6JJsFwF.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/V22Hc0iWNn.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/V22Hc0iWNn.verified.txt index 687026f272..60759e7bf6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/V22Hc0iWNn.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/V22Hc0iWNn.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VAqCkyX7L1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VAqCkyX7L1.verified.txt index 99881157ac..478977bf01 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VAqCkyX7L1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VAqCkyX7L1.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VLDltbmZEe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VLDltbmZEe.verified.txt index bddcdb331b..ca9582afd0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VLDltbmZEe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VLDltbmZEe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VkdrJ8ohLo.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VkdrJ8ohLo.verified.txt index d8cecbb1f3..095d088a64 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VkdrJ8ohLo.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VkdrJ8ohLo.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwMwo0DNs0.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwMwo0DNs0.verified.txt index 85739b73ea..8ad091fa13 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwMwo0DNs0.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwMwo0DNs0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwVuL7tk45.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwVuL7tk45.verified.txt index f4be886529..7b159339f6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwVuL7tk45.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwVuL7tk45.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwjyQuQbWT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwjyQuQbWT.verified.txt index 983f02db6d..7500ea891f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwjyQuQbWT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/VwjyQuQbWT.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/W4cc1yVP4e.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/W4cc1yVP4e.verified.txt index 6c67053bed..194651e4ce 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/W4cc1yVP4e.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/W4cc1yVP4e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WDTQryZdKy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WDTQryZdKy.verified.txt index ad2cc0f5ca..9cb52581b8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WDTQryZdKy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WDTQryZdKy.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WQK4fXirnM.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WQK4fXirnM.verified.txt index dfecc5ab4c..42ae8c3810 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WQK4fXirnM.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/WQK4fXirnM.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Wm4zfAVYP7.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Wm4zfAVYP7.verified.txt index 2afb152ed3..88bf3a48c3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Wm4zfAVYP7.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Wm4zfAVYP7.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/X6MYJKtIHb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/X6MYJKtIHb.verified.txt index cfedce4999..3e48ac6238 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/X6MYJKtIHb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/X6MYJKtIHb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/XjxPknif8O.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/XjxPknif8O.verified.txt index 0355679254..1306119e61 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/XjxPknif8O.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/XjxPknif8O.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Y7OQFA2Vzd.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Y7OQFA2Vzd.verified.txt index c191a6457f..2903dd3c0c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Y7OQFA2Vzd.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Y7OQFA2Vzd.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YOjQQq2tda.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YOjQQq2tda.verified.txt index 6f3348e404..22bb963ebc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YOjQQq2tda.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YOjQQq2tda.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YcrAIY9UJS.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YcrAIY9UJS.verified.txt index 18d7e1c06a..b6ecbaef9a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YcrAIY9UJS.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/YcrAIY9UJS.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Z7ECVU2Cur.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Z7ECVU2Cur.verified.txt index 793dde964c..70397aa76a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Z7ECVU2Cur.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/Z7ECVU2Cur.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZC2jtVGSox.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZC2jtVGSox.verified.txt index 8ca74dadfb..ba925c6b00 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZC2jtVGSox.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZC2jtVGSox.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZxuZqPzE9N.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZxuZqPzE9N.verified.txt index 0e2fc863c0..39161d2621 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZxuZqPzE9N.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ZxuZqPzE9N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/a74vH5yuQK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/a74vH5yuQK.verified.txt index ad985d5def..ded8cfa9a3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/a74vH5yuQK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/a74vH5yuQK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/aXVZjuBwin.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/aXVZjuBwin.verified.txt index 6cfab3971c..567d9a9bdc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/aXVZjuBwin.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/aXVZjuBwin.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/auiwlWIT33.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/auiwlWIT33.verified.txt index 9c30a74bfa..da3f026be3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/auiwlWIT33.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/auiwlWIT33.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/b0RpJdMlcH.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/b0RpJdMlcH.verified.txt index 3d340e3b17..da361d9a7c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/b0RpJdMlcH.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/b0RpJdMlcH.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bEUhsxA9mw.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bEUhsxA9mw.verified.txt index 7a5900ee86..3f943de972 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bEUhsxA9mw.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bEUhsxA9mw.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/beUUeB1dtC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/beUUeB1dtC.verified.txt index d62a48cb97..aed941deda 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/beUUeB1dtC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/beUUeB1dtC.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bk5Z8CaDTN.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bk5Z8CaDTN.verified.txt index fb71c7e1e0..44c75a45ba 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bk5Z8CaDTN.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bk5Z8CaDTN.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bsKhZHNQve.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bsKhZHNQve.verified.txt index e88fcaa225..edfc84b5ad 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bsKhZHNQve.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/bsKhZHNQve.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cGiPCYrzAJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cGiPCYrzAJ.verified.txt index d86707a9db..6d5f6bea26 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cGiPCYrzAJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cGiPCYrzAJ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cf7E73cYQF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cf7E73cYQF.verified.txt index 0c0d3cbfd0..a659905c29 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cf7E73cYQF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cf7E73cYQF.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cgzVNx9yf9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cgzVNx9yf9.verified.txt index ce0209428d..63be118bec 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cgzVNx9yf9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/cgzVNx9yf9.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ci9rPOTT25.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ci9rPOTT25.verified.txt index 6fa9b18bce..7b07e8e774 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ci9rPOTT25.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ci9rPOTT25.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d0p84e4sx8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d0p84e4sx8.verified.txt index 86392abf10..1f4858da46 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d0p84e4sx8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d0p84e4sx8.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d9yFpGd4HL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d9yFpGd4HL.verified.txt index c3aa2eda7d..0a1ba5ae03 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d9yFpGd4HL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/d9yFpGd4HL.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/e9DVdkW1mv.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/e9DVdkW1mv.verified.txt index 6b4391758a..691c45d96a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/e9DVdkW1mv.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/e9DVdkW1mv.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/efdhYlM7xs.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/efdhYlM7xs.verified.txt index 1c97233b62..9ddf43a56b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/efdhYlM7xs.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/efdhYlM7xs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/eqGUAyQkQW.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/eqGUAyQkQW.verified.txt index d7a2a22f20..37d40e5fdd 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/eqGUAyQkQW.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/eqGUAyQkQW.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/f3QLc7A0Jy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/f3QLc7A0Jy.verified.txt index 0b010ec95b..fb7349f496 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/f3QLc7A0Jy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/f3QLc7A0Jy.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fB528fZGda.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fB528fZGda.verified.txt index 4fb4d86719..b086813088 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fB528fZGda.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fB528fZGda.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fCADYIxepm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fCADYIxepm.verified.txt index 5866f5f900..6181735706 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fCADYIxepm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fCADYIxepm.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fUpFYuzSxJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fUpFYuzSxJ.verified.txt index 92f0e3317f..049d16dd64 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fUpFYuzSxJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fUpFYuzSxJ.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fWP2lfWLPk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fWP2lfWLPk.verified.txt index 5f83050257..82d5a94f42 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fWP2lfWLPk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fWP2lfWLPk.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fbkBgLVYY3.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fbkBgLVYY3.verified.txt index 319a9a0be9..1f3938dc40 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fbkBgLVYY3.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/fbkBgLVYY3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gB82e3zrgh.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gB82e3zrgh.verified.txt index ed518cc48b..999fb94a06 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gB82e3zrgh.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gB82e3zrgh.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gDCVoWupwO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gDCVoWupwO.verified.txt index 0db89ee7dd..2d5e61377a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gDCVoWupwO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gDCVoWupwO.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gKqtd9qyhL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gKqtd9qyhL.verified.txt index 1f43b22dca..55274c5294 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gKqtd9qyhL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gKqtd9qyhL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gZv6qTriEZ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gZv6qTriEZ.verified.txt index 5c6a564cc6..545227ecc2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gZv6qTriEZ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gZv6qTriEZ.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gcaIueInYK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gcaIueInYK.verified.txt index 3696b1fb23..a935746dff 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gcaIueInYK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gcaIueInYK.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gdSgCnvoLX.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gdSgCnvoLX.verified.txt index dcd05a882e..a35d8e593d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gdSgCnvoLX.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/gdSgCnvoLX.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hUApovHrPY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hUApovHrPY.verified.txt index 2fdca399f9..074eac6f9f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hUApovHrPY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hUApovHrPY.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hZH0Gxif8a.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hZH0Gxif8a.verified.txt index 3ba77162ab..7eabdcb2b5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hZH0Gxif8a.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/hZH0Gxif8a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huFFLlLRpS.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huFFLlLRpS.verified.txt index b316b523cc..0cd0eccece 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huFFLlLRpS.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huFFLlLRpS.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huJ2n43h1I.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huJ2n43h1I.verified.txt index 27eb7cb3b6..6852a38b29 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huJ2n43h1I.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/huJ2n43h1I.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/i72eZjVuAN.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/i72eZjVuAN.verified.txt index 5cc1e79283..9fd60035fb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/i72eZjVuAN.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/i72eZjVuAN.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iLEO3110wT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iLEO3110wT.verified.txt index 1dd5f06cdc..e9cd4c267d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iLEO3110wT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iLEO3110wT.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ibt5qrBboh.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ibt5qrBboh.verified.txt index 0ed204e3ae..ba09df57b4 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ibt5qrBboh.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ibt5qrBboh.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ieav503dDx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ieav503dDx.verified.txt index 7e80fefa83..71d27981ab 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ieav503dDx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ieav503dDx.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iglwKiU9tA.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iglwKiU9tA.verified.txt index 7c0bbf507d..793a1203e0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iglwKiU9tA.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iglwKiU9tA.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iipUkuEL4I.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iipUkuEL4I.verified.txt index f629267034..6ef1a9fc3e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iipUkuEL4I.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/iipUkuEL4I.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/imc7uoBeBW.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/imc7uoBeBW.verified.txt index cdbc9b4b75..038ffacb60 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/imc7uoBeBW.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/imc7uoBeBW.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ixdKgjUJGb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ixdKgjUJGb.verified.txt index 10e040e9d5..446e72078c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ixdKgjUJGb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ixdKgjUJGb.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/j3XxkKjaDU.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/j3XxkKjaDU.verified.txt index 0ab25f6c79..b21971a0aa 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/j3XxkKjaDU.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/j3XxkKjaDU.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/jSIsXyiijC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/jSIsXyiijC.verified.txt index c27fc50e4f..37203e2d7d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/jSIsXyiijC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/jSIsXyiijC.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/k28CGVkIcF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/k28CGVkIcF.verified.txt index 08d2d5ed05..7253ab7f6b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/k28CGVkIcF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/k28CGVkIcF.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kMPspWDRPV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kMPspWDRPV.verified.txt index 6bf46380d4..2c101eb36a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kMPspWDRPV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kMPspWDRPV.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kSPZoPlDl9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kSPZoPlDl9.verified.txt index d80dfb405e..f5439e6f62 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kSPZoPlDl9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kSPZoPlDl9.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kcI9RnlZCl.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kcI9RnlZCl.verified.txt index 0ce0d7f9ea..44c82a6378 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kcI9RnlZCl.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/kcI9RnlZCl.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/l5gRJfMuP6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/l5gRJfMuP6.verified.txt index e81b7b8837..9366de4be0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/l5gRJfMuP6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/l5gRJfMuP6.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/lgCfnVVQwE.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/lgCfnVVQwE.verified.txt index 2afc4f39e8..7b8a81eda0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/lgCfnVVQwE.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/lgCfnVVQwE.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ly6zLmkAEe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ly6zLmkAEe.verified.txt index 62e34dc75a..a54b25c512 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ly6zLmkAEe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ly6zLmkAEe.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/m12d8XLmYy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/m12d8XLmYy.verified.txt index a54cdcc635..ed03199396 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/m12d8XLmYy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/m12d8XLmYy.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/mFIIJTvHXY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/mFIIJTvHXY.verified.txt index 2085e74c4e..0d0d6782cb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/mFIIJTvHXY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/mFIIJTvHXY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/n0d0Afve8A.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/n0d0Afve8A.verified.txt index 3002142cd3..5970bb620e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/n0d0Afve8A.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/n0d0Afve8A.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nARiIqq5Oi.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nARiIqq5Oi.verified.txt index dfa860fbc4..7344b9588b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nARiIqq5Oi.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nARiIqq5Oi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nUILcBr2PO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nUILcBr2PO.verified.txt index 476d0b6b21..795f65e88d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nUILcBr2PO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nUILcBr2PO.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nbMaMYe3h6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nbMaMYe3h6.verified.txt index 8aac6865ae..9a0c4faab0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nbMaMYe3h6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/nbMaMYe3h6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/o4gwuUPNtq.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/o4gwuUPNtq.verified.txt index 28a0ec8a59..95f20b9e9c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/o4gwuUPNtq.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/o4gwuUPNtq.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oH2SqdD6wx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oH2SqdD6wx.verified.txt index 8389a5fa88..dc647f23e6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oH2SqdD6wx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oH2SqdD6wx.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ol1uVqab2n.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ol1uVqab2n.verified.txt index 1ef5b24229..e1385c708e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ol1uVqab2n.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/ol1uVqab2n.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/orOucBh0pL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/orOucBh0pL.verified.txt index 190fc284f3..b2fe09f4b9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/orOucBh0pL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/orOucBh0pL.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oz0eD1nHou.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oz0eD1nHou.verified.txt index ee2804ac6a..f5b503dec7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oz0eD1nHou.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/oz0eD1nHou.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pKThSIEAfM.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pKThSIEAfM.verified.txt index 0e27374728..0988565dda 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pKThSIEAfM.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pKThSIEAfM.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pZ2MY5N3fO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pZ2MY5N3fO.verified.txt index b8dd8961cc..d09beaf53c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pZ2MY5N3fO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pZ2MY5N3fO.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pf5pRsb2Nc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pf5pRsb2Nc.verified.txt index 46dd8be179..93e419585e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pf5pRsb2Nc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/pf5pRsb2Nc.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/prDeKEmiPH.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/prDeKEmiPH.verified.txt index 649e761bd3..180beed8d9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/prDeKEmiPH.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/prDeKEmiPH.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/qZgPE8pch9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/qZgPE8pch9.verified.txt index b3113ea411..df1e1b0494 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/qZgPE8pch9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/qZgPE8pch9.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rLulWISFGT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rLulWISFGT.verified.txt index 6cedbcf573..890d1bcdc3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rLulWISFGT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rLulWISFGT.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rSPwcy25v8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rSPwcy25v8.verified.txt index ac0ab7e3ce..9b10c8d473 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rSPwcy25v8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rSPwcy25v8.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rVKxEvHGnj.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rVKxEvHGnj.verified.txt index 86f146333c..a23e6a1a89 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rVKxEvHGnj.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rVKxEvHGnj.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rWvBNyimjI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rWvBNyimjI.verified.txt index 10f7ca9af8..3efceeec23 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rWvBNyimjI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rWvBNyimjI.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rerX8Ao4iV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rerX8Ao4iV.verified.txt index a6941524fd..400dc602f8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rerX8Ao4iV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rerX8Ao4iV.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rtqyoCnYvI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rtqyoCnYvI.verified.txt index ac5e05e8a3..0fbc195845 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rtqyoCnYvI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/rtqyoCnYvI.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sCUdmRlz5y.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sCUdmRlz5y.verified.txt index 6f3ee75b0c..9db5fa7c8c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sCUdmRlz5y.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sCUdmRlz5y.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sgGDRAl39y.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sgGDRAl39y.verified.txt index 01fbe7152f..1ab3f80332 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sgGDRAl39y.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/sgGDRAl39y.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/so35ve9Kz5.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/so35ve9Kz5.verified.txt index 2fad55706f..b13df26ac7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/so35ve9Kz5.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/so35ve9Kz5.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/soG2jzTBNU.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/soG2jzTBNU.verified.txt index 336b2ee008..2940ddc3d0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/soG2jzTBNU.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/soG2jzTBNU.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tAEH8P36Jy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tAEH8P36Jy.verified.txt index 0c1488b1e5..fa2867a3a1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tAEH8P36Jy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tAEH8P36Jy.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tc8eRDlQpb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tc8eRDlQpb.verified.txt index 08021fdce1..f1e4dcf242 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tc8eRDlQpb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tc8eRDlQpb.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tchaMDA2LK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tchaMDA2LK.verified.txt index bcaa341ccd..805accad67 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tchaMDA2LK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tchaMDA2LK.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/thShBJas6A.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/thShBJas6A.verified.txt index 25d44b1814..efd1dcafbc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/thShBJas6A.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/thShBJas6A.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/trNtjbALp4.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/trNtjbALp4.verified.txt index 066aee4945..c266f44de8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/trNtjbALp4.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/trNtjbALp4.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tttEZrgU5W.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tttEZrgU5W.verified.txt index 4d508d81f1..8fc1e6757e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tttEZrgU5W.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tttEZrgU5W.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tucoqteSJJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tucoqteSJJ.verified.txt index a0eba28541..cb8ab7a3c2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tucoqteSJJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/tucoqteSJJ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/v8SuB33vdj.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/v8SuB33vdj.verified.txt index a300efc6fd..b2e42aa2af 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/v8SuB33vdj.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/v8SuB33vdj.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vIBGW2nFlB.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vIBGW2nFlB.verified.txt index c3e1be4c4b..8d4bf8730d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vIBGW2nFlB.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vIBGW2nFlB.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vKfYIckb2z.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vKfYIckb2z.verified.txt index 60f36c9034..7c61b97530 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vKfYIckb2z.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vKfYIckb2z.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vmf7eXjiss.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vmf7eXjiss.verified.txt index dfcdb1dfa0..5a142fe0b5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vmf7eXjiss.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/vmf7eXjiss.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/w3STswVYFV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/w3STswVYFV.verified.txt index dc74765662..d7e3549c06 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/w3STswVYFV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/w3STswVYFV.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xnaJz0wDbM.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xnaJz0wDbM.verified.txt index 02d8199519..2cf78b11bd 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xnaJz0wDbM.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xnaJz0wDbM.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xo15V5Evsh.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xo15V5Evsh.verified.txt index 8797cf9ff1..b5cebcd14b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xo15V5Evsh.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xo15V5Evsh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xqjZsQAp1i.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xqjZsQAp1i.verified.txt index 247f57cdc3..729e2704fc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xqjZsQAp1i.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xqjZsQAp1i.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xrRM7aNmdP.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xrRM7aNmdP.verified.txt index 654c678272..972a2ab77b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xrRM7aNmdP.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xrRM7aNmdP.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xu33LfHQMG.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xu33LfHQMG.verified.txt index 61979a6672..f5447652b0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xu33LfHQMG.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/xu33LfHQMG.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/yM43BZMXGk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/yM43BZMXGk.verified.txt index 627b78d921..53836103ad 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/yM43BZMXGk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/yM43BZMXGk.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z22zk0vSgK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z22zk0vSgK.verified.txt index e25c3127fc..d1c29e6c13 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z22zk0vSgK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z22zk0vSgK.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z3B3t8oyp8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z3B3t8oyp8.verified.txt index 4d5c0ea69c..057c89657c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z3B3t8oyp8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/z3B3t8oyp8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zBAvbucpNY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zBAvbucpNY.verified.txt index 932dfd2971..df13202d0b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zBAvbucpNY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zBAvbucpNY.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zmu9r12YdI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zmu9r12YdI.verified.txt index df4af5f1ed..83b641af51 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zmu9r12YdI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v8.0/zmu9r12YdI.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/07PcIVuj3q.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/07PcIVuj3q.verified.txt index 6efc4c8ed1..407e8e5cb9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/07PcIVuj3q.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/07PcIVuj3q.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0AQJp5IDiC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0AQJp5IDiC.verified.txt index b0f6fad1d7..e373ac743a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0AQJp5IDiC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0AQJp5IDiC.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0TG0lh6tni.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0TG0lh6tni.verified.txt index 32a5a26430..0e6091474b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0TG0lh6tni.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0TG0lh6tni.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0tfHlhMkfO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0tfHlhMkfO.verified.txt index 24c8cbfbaa..2ee392e190 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0tfHlhMkfO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/0tfHlhMkfO.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1SWmSa7PJy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1SWmSa7PJy.verified.txt index 3105f6fedc..0b503adb65 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1SWmSa7PJy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1SWmSa7PJy.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rQYIQt8I6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rQYIQt8I6.verified.txt index 5837a3035d..a6eff1fca7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rQYIQt8I6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rQYIQt8I6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rhD5hykM2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rhD5hykM2.verified.txt index 669ba71780..93ceb9dadb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rhD5hykM2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/1rhD5hykM2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2KtBdBnyIY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2KtBdBnyIY.verified.txt index c97aab25e0..7f06ca4723 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2KtBdBnyIY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2KtBdBnyIY.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2XBv7DNqeD.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2XBv7DNqeD.verified.txt index 5c518031c2..4927de4742 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2XBv7DNqeD.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2XBv7DNqeD.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2wB3hlJGg4.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2wB3hlJGg4.verified.txt index 8fc5ebbcf9..53f18261d2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2wB3hlJGg4.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/2wB3hlJGg4.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4CgOm8yXl7.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4CgOm8yXl7.verified.txt index 0da1fb4e8b..491cefbb1d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4CgOm8yXl7.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4CgOm8yXl7.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4NZqTZQOzi.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4NZqTZQOzi.verified.txt index a431f0598f..be15f15ef0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4NZqTZQOzi.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4NZqTZQOzi.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4OehSdKrMZ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4OehSdKrMZ.verified.txt index f186e35ec3..c5664749e6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4OehSdKrMZ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4OehSdKrMZ.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4UZZXyTRag.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4UZZXyTRag.verified.txt index 775a59253f..01ed159f78 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4UZZXyTRag.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4UZZXyTRag.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4betbAbMkf.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4betbAbMkf.verified.txt index fa3950742f..f9f6bfcaae 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4betbAbMkf.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4betbAbMkf.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4w1vBoRiTe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4w1vBoRiTe.verified.txt index ddddb855ab..bec0ae6f45 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4w1vBoRiTe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/4w1vBoRiTe.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/58Q396UffP.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/58Q396UffP.verified.txt index 0992262aff..8781186ca6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/58Q396UffP.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/58Q396UffP.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/5RPC2XJSen.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/5RPC2XJSen.verified.txt index 3922d1b6c9..b204c8e908 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/5RPC2XJSen.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/5RPC2XJSen.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/60dOpSNvpD.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/60dOpSNvpD.verified.txt index e8cabf9640..1aeaa08d10 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/60dOpSNvpD.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/60dOpSNvpD.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/61M15eKnGF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/61M15eKnGF.verified.txt index bdf8514146..bc82fbc26e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/61M15eKnGF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/61M15eKnGF.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6NXqLOZG5g.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6NXqLOZG5g.verified.txt index 8f5e1ae14d..bd70c8f823 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6NXqLOZG5g.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6NXqLOZG5g.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6VTf9OhuIi.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6VTf9OhuIi.verified.txt index 55023d5ac7..9ac8432901 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6VTf9OhuIi.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6VTf9OhuIi.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6lBLHds4lW.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6lBLHds4lW.verified.txt index 8628c70ad5..bf5cc7d500 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6lBLHds4lW.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6lBLHds4lW.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6odZhoWZP6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6odZhoWZP6.verified.txt index ea392eed1f..28b3e7f5a8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6odZhoWZP6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6odZhoWZP6.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6rHbdTNizV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6rHbdTNizV.verified.txt index 59346f6919..3cb234d811 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6rHbdTNizV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/6rHbdTNizV.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/77dvv35gv1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/77dvv35gv1.verified.txt index 95b94eeedb..356dc0ed66 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/77dvv35gv1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/77dvv35gv1.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7TYKJ6yq5c.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7TYKJ6yq5c.verified.txt index 9a4c8f2a7a..ed29052e02 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7TYKJ6yq5c.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7TYKJ6yq5c.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7hiNp5tlXd.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7hiNp5tlXd.verified.txt index ec32d7c918..93c5799237 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7hiNp5tlXd.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7hiNp5tlXd.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7uqQBgLZTb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7uqQBgLZTb.verified.txt index e585dba801..d72e3e7591 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7uqQBgLZTb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/7uqQBgLZTb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/81sYCnm9HE.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/81sYCnm9HE.verified.txt index 497f35f208..6355de8f74 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/81sYCnm9HE.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/81sYCnm9HE.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8DR3ikhfOm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8DR3ikhfOm.verified.txt index 1bdd7583e9..5a68461a04 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8DR3ikhfOm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8DR3ikhfOm.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8fo8GEnVB2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8fo8GEnVB2.verified.txt index dbec634fd2..e0e19c09b7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8fo8GEnVB2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/8fo8GEnVB2.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/98KXr8wANJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/98KXr8wANJ.verified.txt index 668c25d2dd..3fec803068 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/98KXr8wANJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/98KXr8wANJ.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/9vnWwbHGuB.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/9vnWwbHGuB.verified.txt index e0b1c2b2a0..a96fd4177a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/9vnWwbHGuB.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/9vnWwbHGuB.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/A1RTs8eaFm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/A1RTs8eaFm.verified.txt index 65dddab47f..4cd49029c1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/A1RTs8eaFm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/A1RTs8eaFm.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AFMcvpuumD.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AFMcvpuumD.verified.txt index 715872f266..461200dc9a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AFMcvpuumD.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AFMcvpuumD.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AJWzuJoTcL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AJWzuJoTcL.verified.txt index 79a9c429b8..65e9fb62ff 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AJWzuJoTcL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AJWzuJoTcL.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AX8BioT6iw.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AX8BioT6iw.verified.txt index 615732b58f..182d21d21f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AX8BioT6iw.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/AX8BioT6iw.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Acogmgq2tt.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Acogmgq2tt.verified.txt index 7e7573a126..4f28891ee5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Acogmgq2tt.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Acogmgq2tt.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BQCdbuCyxx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BQCdbuCyxx.verified.txt index 3abe3e3c12..10508544d0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BQCdbuCyxx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BQCdbuCyxx.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BbUYWGSZ7t.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BbUYWGSZ7t.verified.txt index bfe8a1f344..ae3b02cb50 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BbUYWGSZ7t.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BbUYWGSZ7t.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bbqck2QQEe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bbqck2QQEe.verified.txt index 11f4cce81b..fb6460875b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bbqck2QQEe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bbqck2QQEe.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bf2SdE1mli.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bf2SdE1mli.verified.txt index edef73a456..ff4926d7dc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bf2SdE1mli.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Bf2SdE1mli.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BfcIQ6QxLT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BfcIQ6QxLT.verified.txt index dde6cff072..94a839e1c9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BfcIQ6QxLT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BfcIQ6QxLT.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BkDNYGeiJO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BkDNYGeiJO.verified.txt index 15c4948940..d3809b6615 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BkDNYGeiJO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/BkDNYGeiJO.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Blr8MnyIft.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Blr8MnyIft.verified.txt index 3eee32faf3..fa52d8d5f3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Blr8MnyIft.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Blr8MnyIft.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/C3aV5bGuhC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/C3aV5bGuhC.verified.txt index e65f1fbd94..6dc3fe0072 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/C3aV5bGuhC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/C3aV5bGuhC.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CCSiro0YY5.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CCSiro0YY5.verified.txt index 830d9970bb..e5bab06c1f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CCSiro0YY5.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CCSiro0YY5.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGC6ZHpFxY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGC6ZHpFxY.verified.txt index ec09cc041c..fb6b8e557c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGC6ZHpFxY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGC6ZHpFxY.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGajX33Sr8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGajX33Sr8.verified.txt index 1e984a272d..e9a12f9655 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGajX33Sr8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CGajX33Sr8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CRFQw7hPdX.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CRFQw7hPdX.verified.txt index b8c775a860..40debb115a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CRFQw7hPdX.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CRFQw7hPdX.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CoIV0GGaVk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CoIV0GGaVk.verified.txt index 7d134825a9..4369831301 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CoIV0GGaVk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CoIV0GGaVk.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CpMibF5X1W.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CpMibF5X1W.verified.txt index d5ffd48b78..1bd5864a4a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CpMibF5X1W.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CpMibF5X1W.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CqRvYTDB1D.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CqRvYTDB1D.verified.txt index 6c3912604f..a08930338d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CqRvYTDB1D.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/CqRvYTDB1D.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DHesPioBFv.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DHesPioBFv.verified.txt index e204597abd..d232f66d8a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DHesPioBFv.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DHesPioBFv.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DR8cGo0Q5y.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DR8cGo0Q5y.verified.txt index 1603822be1..689ddd01f3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DR8cGo0Q5y.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DR8cGo0Q5y.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DVniDzaOiL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DVniDzaOiL.verified.txt index 432c3dd876..0526ebafe9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DVniDzaOiL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DVniDzaOiL.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt index 3290464581..8e48c19129 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt index 5e00afc06a..2c537feb42 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DeserializationStrictnessTests.Reference_value_objects_allow_nulls_by_default.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DznfadW3c3.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DznfadW3c3.verified.txt index 5f1f9f4a87..387598f37b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DznfadW3c3.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/DznfadW3c3.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/E5VqeEIBNO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/E5VqeEIBNO.verified.txt index 57da205f3f..cb4fa86275 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/E5VqeEIBNO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/E5VqeEIBNO.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/EfSxmz0hbo.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/EfSxmz0hbo.verified.txt index fb7e82b14b..1de35646b0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/EfSxmz0hbo.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/EfSxmz0hbo.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ez7UHJJDfI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ez7UHJJDfI.verified.txt index e56bf4cd25..2e352d927e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ez7UHJJDfI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ez7UHJJDfI.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F5grs8IkTO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F5grs8IkTO.verified.txt index 0ba5c59ffa..41e78d34d5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F5grs8IkTO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F5grs8IkTO.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F9MZG1XNfF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F9MZG1XNfF.verified.txt index 3d5f2b7616..85cb0ae79e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F9MZG1XNfF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/F9MZG1XNfF.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/FQRBLbisLv.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/FQRBLbisLv.verified.txt index b9c3af4bbe..e5170c172b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/FQRBLbisLv.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/FQRBLbisLv.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/G2mouoq1fx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/G2mouoq1fx.verified.txt index 6590d40c1a..1703e7b2bb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/G2mouoq1fx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/G2mouoq1fx.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GFavE8Pkxq.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GFavE8Pkxq.verified.txt index 0b42b2ec20..ad7f5dfbc1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GFavE8Pkxq.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GFavE8Pkxq.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GHcjDwl5kc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GHcjDwl5kc.verified.txt index 643d37000d..4656376400 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GHcjDwl5kc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GHcjDwl5kc.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GL0Hi4kg64.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GL0Hi4kg64.verified.txt index d34fd94a5e..691adf6ba1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GL0Hi4kg64.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GL0Hi4kg64.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GTwMaPNJRP.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GTwMaPNJRP.verified.txt index d893778072..2faab0a303 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GTwMaPNJRP.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GTwMaPNJRP.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Gds2GVuXZz.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Gds2GVuXZz.verified.txt index 8c714b1254..5b7833ccc9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Gds2GVuXZz.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Gds2GVuXZz.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GiYPYYoVS0.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GiYPYYoVS0.verified.txt index a97a27358d..d70af964ad 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GiYPYYoVS0.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/GiYPYYoVS0.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HKCg9ZpdId.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HKCg9ZpdId.verified.txt index 141605c9a2..b7a4a4a29e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HKCg9ZpdId.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HKCg9ZpdId.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Hl7kEg5sqn.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Hl7kEg5sqn.verified.txt index d426c43ee6..df282e3563 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Hl7kEg5sqn.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Hl7kEg5sqn.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HlUrqFUGJm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HlUrqFUGJm.verified.txt index 14a961433c..bf50342a93 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HlUrqFUGJm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/HlUrqFUGJm.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/I4ufDqNrEj.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/I4ufDqNrEj.verified.txt index bf1fdea247..bc52d8ede2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/I4ufDqNrEj.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/I4ufDqNrEj.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IC9lEzyGyO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IC9lEzyGyO.verified.txt index 57861d2a48..b0e15b8ddb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IC9lEzyGyO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IC9lEzyGyO.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ITWVYMGhio.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ITWVYMGhio.verified.txt index e518627dd0..409f038d47 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ITWVYMGhio.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ITWVYMGhio.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IhlYDME7Fk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IhlYDME7Fk.verified.txt index 5a57fd3743..be1a1f7034 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IhlYDME7Fk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IhlYDME7Fk.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IoqqGOQZNa.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IoqqGOQZNa.verified.txt index 85087611ac..f107d9cce8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IoqqGOQZNa.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IoqqGOQZNa.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/It1qNJDVTk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/It1qNJDVTk.verified.txt index 8dc45945f4..dbd30226ca 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/It1qNJDVTk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/It1qNJDVTk.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IvCHHmVxS1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IvCHHmVxS1.verified.txt index 1197dd3ac3..8db46c8836 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IvCHHmVxS1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/IvCHHmVxS1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iw1DxHVA5v.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iw1DxHVA5v.verified.txt index e4ae8b755f..3c21a41084 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iw1DxHVA5v.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iw1DxHVA5v.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iyq5h18cTS.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iyq5h18cTS.verified.txt index ad2733ff1a..fd7da0e1ee 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iyq5h18cTS.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Iyq5h18cTS.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/J8SezX4ArK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/J8SezX4ArK.verified.txt index a5252f908c..5ecb000445 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/J8SezX4ArK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/J8SezX4ArK.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JSJDzXxsH1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JSJDzXxsH1.verified.txt index 0b59355a8f..fff35ab26b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JSJDzXxsH1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JSJDzXxsH1.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JYus242bhT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JYus242bhT.verified.txt index f562b09c87..b0a69a8ad7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JYus242bhT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JYus242bhT.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JoSDZI31Je.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JoSDZI31Je.verified.txt index ac53eaa58c..42947549fc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JoSDZI31Je.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/JoSDZI31Je.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KJHSbH58JJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KJHSbH58JJ.verified.txt index d2771e584c..55aa0eb5e8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KJHSbH58JJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KJHSbH58JJ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KRCL0un4Ho.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KRCL0un4Ho.verified.txt index d7fc8578aa..7500e59424 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KRCL0un4Ho.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KRCL0un4Ho.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KiSa1z2GlF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KiSa1z2GlF.verified.txt index 4b53d947b4..03f7e922e1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KiSa1z2GlF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KiSa1z2GlF.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KzA5jtGUkR.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KzA5jtGUkR.verified.txt index 63517cafd1..981b83c14e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KzA5jtGUkR.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/KzA5jtGUkR.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/L3hO17ehe6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/L3hO17ehe6.verified.txt index 9156944b4f..35cf53088b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/L3hO17ehe6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/L3hO17ehe6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LDqmsqKig9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LDqmsqKig9.verified.txt index 8de28dd315..da12cbdea3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LDqmsqKig9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LDqmsqKig9.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LJqcwt4NLf.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LJqcwt4NLf.verified.txt index 1479e031a2..5d8d3afb59 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LJqcwt4NLf.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/LJqcwt4NLf.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/MsUNc6R1Jz.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/MsUNc6R1Jz.verified.txt index c93c411049..7f1a77fb93 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/MsUNc6R1Jz.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/MsUNc6R1Jz.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/NSBfexk9Jx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/NSBfexk9Jx.verified.txt index b9b4e6e43e..30b296a22c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/NSBfexk9Jx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/NSBfexk9Jx.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/O3fNbJ8VN2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/O3fNbJ8VN2.verified.txt index 512e76490c..8ba2ca8ed2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/O3fNbJ8VN2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/O3fNbJ8VN2.verified.txt @@ -365,14 +365,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OSRNsrwjyc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OSRNsrwjyc.verified.txt index 90532526a7..2c18e4504b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OSRNsrwjyc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OSRNsrwjyc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OUaHvwIhLb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OUaHvwIhLb.verified.txt index 16415c04dc..4bdde9a5ef 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OUaHvwIhLb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OUaHvwIhLb.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Oaehs3N7I7.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Oaehs3N7I7.verified.txt index ce3a868143..3f1f7a4286 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Oaehs3N7I7.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Oaehs3N7I7.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OtozazZj13.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OtozazZj13.verified.txt index cb3d2115f8..0624e60175 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OtozazZj13.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/OtozazZj13.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/P0gu2bg1Qe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/P0gu2bg1Qe.verified.txt index f56ae30530..4ea0c8d2bc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/P0gu2bg1Qe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/P0gu2bg1Qe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PFrt5obmv0.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PFrt5obmv0.verified.txt index aac761128c..61f4f7dc31 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PFrt5obmv0.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PFrt5obmv0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PHRKYq1CdV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PHRKYq1CdV.verified.txt index a9a143fec0..8a57b6371b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PHRKYq1CdV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PHRKYq1CdV.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgElS1hUhE.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgElS1hUhE.verified.txt index 6ad1d472f4..789b98d22c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgElS1hUhE.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgElS1hUhE.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgsucSaTfm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgsucSaTfm.verified.txt index 862b04d82c..9c84bbdce7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgsucSaTfm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PgsucSaTfm.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Po8a5Tmus1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Po8a5Tmus1.verified.txt index 5300b64587..c64c5581c6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Po8a5Tmus1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Po8a5Tmus1.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PsgJpdpuQF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PsgJpdpuQF.verified.txt index 6fdea5bcc9..52aed92ad3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PsgJpdpuQF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/PsgJpdpuQF.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/QgzFvrEmoT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/QgzFvrEmoT.verified.txt index 09f1d6919e..9ace456520 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/QgzFvrEmoT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/QgzFvrEmoT.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/R03IKKDGBg.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/R03IKKDGBg.verified.txt index 454bc7a838..4a7d749eb5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/R03IKKDGBg.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/R03IKKDGBg.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RMtpAEyfS3.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RMtpAEyfS3.verified.txt index f67eb757f6..21ee4e9fe4 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RMtpAEyfS3.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RMtpAEyfS3.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RWDP7liIO2.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RWDP7liIO2.verified.txt index 349faa74d9..969f3b2901 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RWDP7liIO2.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RWDP7liIO2.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RiewHOlB2s.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RiewHOlB2s.verified.txt index d2ac8cffa2..98056a5238 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RiewHOlB2s.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RiewHOlB2s.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RspK5xtodc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RspK5xtodc.verified.txt index 9a4d319057..8f07c320d4 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RspK5xtodc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RspK5xtodc.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RuYekxGlPw.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RuYekxGlPw.verified.txt index 2128d6a24c..6d9c91bd20 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RuYekxGlPw.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/RuYekxGlPw.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/S0h3EeJg7X.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/S0h3EeJg7X.verified.txt index 3f215b1232..00a79b3e3c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/S0h3EeJg7X.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/S0h3EeJg7X.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SENkPIqaLa.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SENkPIqaLa.verified.txt index 75ec08f72d..7a311a8675 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SENkPIqaLa.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SENkPIqaLa.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SMUJlaxAi6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SMUJlaxAi6.verified.txt index 63f8f783f7..e138dc33f1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SMUJlaxAi6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SMUJlaxAi6.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SVPyMplOJY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SVPyMplOJY.verified.txt index 60e83c7d44..c1e109b8db 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SVPyMplOJY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SVPyMplOJY.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SwRDtR0cOK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SwRDtR0cOK.verified.txt index 6e1948005e..3e55d0ff42 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SwRDtR0cOK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/SwRDtR0cOK.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/TOfsGgooCa.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/TOfsGgooCa.verified.txt index 4c57df9d10..986d570ca7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/TOfsGgooCa.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/TOfsGgooCa.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/UFEoQsxK4b.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/UFEoQsxK4b.verified.txt index 8d7d00378f..982bf2fa76 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/UFEoQsxK4b.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/UFEoQsxK4b.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ubg6JJsFwF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ubg6JJsFwF.verified.txt index 56799eb48c..e47d5dfc9d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ubg6JJsFwF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Ubg6JJsFwF.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/V22Hc0iWNn.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/V22Hc0iWNn.verified.txt index 687026f272..60759e7bf6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/V22Hc0iWNn.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/V22Hc0iWNn.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VAqCkyX7L1.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VAqCkyX7L1.verified.txt index 99881157ac..478977bf01 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VAqCkyX7L1.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VAqCkyX7L1.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VLDltbmZEe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VLDltbmZEe.verified.txt index bddcdb331b..ca9582afd0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VLDltbmZEe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VLDltbmZEe.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VkdrJ8ohLo.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VkdrJ8ohLo.verified.txt index d8cecbb1f3..095d088a64 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VkdrJ8ohLo.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VkdrJ8ohLo.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwMwo0DNs0.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwMwo0DNs0.verified.txt index 85739b73ea..8ad091fa13 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwMwo0DNs0.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwMwo0DNs0.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwVuL7tk45.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwVuL7tk45.verified.txt index f4be886529..7b159339f6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwVuL7tk45.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwVuL7tk45.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwjyQuQbWT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwjyQuQbWT.verified.txt index 983f02db6d..7500ea891f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwjyQuQbWT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/VwjyQuQbWT.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/W4cc1yVP4e.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/W4cc1yVP4e.verified.txt index 6c67053bed..194651e4ce 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/W4cc1yVP4e.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/W4cc1yVP4e.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WDTQryZdKy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WDTQryZdKy.verified.txt index ad2cc0f5ca..9cb52581b8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WDTQryZdKy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WDTQryZdKy.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WQK4fXirnM.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WQK4fXirnM.verified.txt index dfecc5ab4c..42ae8c3810 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WQK4fXirnM.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/WQK4fXirnM.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Wm4zfAVYP7.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Wm4zfAVYP7.verified.txt index 2afb152ed3..88bf3a48c3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Wm4zfAVYP7.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Wm4zfAVYP7.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/X6MYJKtIHb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/X6MYJKtIHb.verified.txt index cfedce4999..3e48ac6238 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/X6MYJKtIHb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/X6MYJKtIHb.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/XjxPknif8O.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/XjxPknif8O.verified.txt index 0355679254..1306119e61 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/XjxPknif8O.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/XjxPknif8O.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Y7OQFA2Vzd.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Y7OQFA2Vzd.verified.txt index c191a6457f..2903dd3c0c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Y7OQFA2Vzd.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Y7OQFA2Vzd.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YOjQQq2tda.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YOjQQq2tda.verified.txt index 6f3348e404..22bb963ebc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YOjQQq2tda.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YOjQQq2tda.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YcrAIY9UJS.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YcrAIY9UJS.verified.txt index 18d7e1c06a..b6ecbaef9a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YcrAIY9UJS.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/YcrAIY9UJS.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Z7ECVU2Cur.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Z7ECVU2Cur.verified.txt index 793dde964c..70397aa76a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Z7ECVU2Cur.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/Z7ECVU2Cur.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZC2jtVGSox.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZC2jtVGSox.verified.txt index 8ca74dadfb..ba925c6b00 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZC2jtVGSox.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZC2jtVGSox.verified.txt @@ -381,14 +381,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZxuZqPzE9N.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZxuZqPzE9N.verified.txt index 0e2fc863c0..39161d2621 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZxuZqPzE9N.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ZxuZqPzE9N.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/a74vH5yuQK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/a74vH5yuQK.verified.txt index ad985d5def..ded8cfa9a3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/a74vH5yuQK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/a74vH5yuQK.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/aXVZjuBwin.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/aXVZjuBwin.verified.txt index 6cfab3971c..567d9a9bdc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/aXVZjuBwin.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/aXVZjuBwin.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/auiwlWIT33.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/auiwlWIT33.verified.txt index 9c30a74bfa..da3f026be3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/auiwlWIT33.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/auiwlWIT33.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/b0RpJdMlcH.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/b0RpJdMlcH.verified.txt index 3d340e3b17..da361d9a7c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/b0RpJdMlcH.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/b0RpJdMlcH.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bEUhsxA9mw.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bEUhsxA9mw.verified.txt index 7a5900ee86..3f943de972 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bEUhsxA9mw.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bEUhsxA9mw.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/beUUeB1dtC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/beUUeB1dtC.verified.txt index d62a48cb97..aed941deda 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/beUUeB1dtC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/beUUeB1dtC.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bk5Z8CaDTN.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bk5Z8CaDTN.verified.txt index fb71c7e1e0..44c75a45ba 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bk5Z8CaDTN.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bk5Z8CaDTN.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bsKhZHNQve.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bsKhZHNQve.verified.txt index e88fcaa225..edfc84b5ad 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bsKhZHNQve.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/bsKhZHNQve.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cGiPCYrzAJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cGiPCYrzAJ.verified.txt index d86707a9db..6d5f6bea26 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cGiPCYrzAJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cGiPCYrzAJ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cf7E73cYQF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cf7E73cYQF.verified.txt index 0c0d3cbfd0..a659905c29 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cf7E73cYQF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cf7E73cYQF.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cgzVNx9yf9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cgzVNx9yf9.verified.txt index ce0209428d..63be118bec 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cgzVNx9yf9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/cgzVNx9yf9.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ci9rPOTT25.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ci9rPOTT25.verified.txt index 6fa9b18bce..7b07e8e774 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ci9rPOTT25.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ci9rPOTT25.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d0p84e4sx8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d0p84e4sx8.verified.txt index 86392abf10..1f4858da46 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d0p84e4sx8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d0p84e4sx8.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d9yFpGd4HL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d9yFpGd4HL.verified.txt index c3aa2eda7d..0a1ba5ae03 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d9yFpGd4HL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/d9yFpGd4HL.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/e9DVdkW1mv.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/e9DVdkW1mv.verified.txt index 6b4391758a..691c45d96a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/e9DVdkW1mv.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/e9DVdkW1mv.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/efdhYlM7xs.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/efdhYlM7xs.verified.txt index 1c97233b62..9ddf43a56b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/efdhYlM7xs.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/efdhYlM7xs.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/eqGUAyQkQW.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/eqGUAyQkQW.verified.txt index d7a2a22f20..37d40e5fdd 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/eqGUAyQkQW.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/eqGUAyQkQW.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/f3QLc7A0Jy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/f3QLc7A0Jy.verified.txt index 0b010ec95b..fb7349f496 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/f3QLc7A0Jy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/f3QLc7A0Jy.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fB528fZGda.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fB528fZGda.verified.txt index 4fb4d86719..b086813088 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fB528fZGda.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fB528fZGda.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fCADYIxepm.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fCADYIxepm.verified.txt index 5866f5f900..6181735706 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fCADYIxepm.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fCADYIxepm.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fUpFYuzSxJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fUpFYuzSxJ.verified.txt index 92f0e3317f..049d16dd64 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fUpFYuzSxJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fUpFYuzSxJ.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fWP2lfWLPk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fWP2lfWLPk.verified.txt index 5f83050257..82d5a94f42 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fWP2lfWLPk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fWP2lfWLPk.verified.txt @@ -367,14 +367,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fbkBgLVYY3.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fbkBgLVYY3.verified.txt index 319a9a0be9..1f3938dc40 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fbkBgLVYY3.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/fbkBgLVYY3.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gB82e3zrgh.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gB82e3zrgh.verified.txt index ed518cc48b..999fb94a06 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gB82e3zrgh.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gB82e3zrgh.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gDCVoWupwO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gDCVoWupwO.verified.txt index 0db89ee7dd..2d5e61377a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gDCVoWupwO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gDCVoWupwO.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gKqtd9qyhL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gKqtd9qyhL.verified.txt index 1f43b22dca..55274c5294 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gKqtd9qyhL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gKqtd9qyhL.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gZv6qTriEZ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gZv6qTriEZ.verified.txt index 5c6a564cc6..545227ecc2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gZv6qTriEZ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gZv6qTriEZ.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gcaIueInYK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gcaIueInYK.verified.txt index 3696b1fb23..a935746dff 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gcaIueInYK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gcaIueInYK.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gdSgCnvoLX.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gdSgCnvoLX.verified.txt index dcd05a882e..a35d8e593d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gdSgCnvoLX.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/gdSgCnvoLX.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hUApovHrPY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hUApovHrPY.verified.txt index 2fdca399f9..074eac6f9f 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hUApovHrPY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hUApovHrPY.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hZH0Gxif8a.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hZH0Gxif8a.verified.txt index 3ba77162ab..7eabdcb2b5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hZH0Gxif8a.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/hZH0Gxif8a.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huFFLlLRpS.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huFFLlLRpS.verified.txt index b316b523cc..0cd0eccece 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huFFLlLRpS.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huFFLlLRpS.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huJ2n43h1I.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huJ2n43h1I.verified.txt index 27eb7cb3b6..6852a38b29 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huJ2n43h1I.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/huJ2n43h1I.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/i72eZjVuAN.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/i72eZjVuAN.verified.txt index 5cc1e79283..9fd60035fb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/i72eZjVuAN.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/i72eZjVuAN.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iLEO3110wT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iLEO3110wT.verified.txt index 1dd5f06cdc..e9cd4c267d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iLEO3110wT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iLEO3110wT.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ibt5qrBboh.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ibt5qrBboh.verified.txt index 0ed204e3ae..ba09df57b4 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ibt5qrBboh.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ibt5qrBboh.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ieav503dDx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ieav503dDx.verified.txt index 7e80fefa83..71d27981ab 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ieav503dDx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ieav503dDx.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iglwKiU9tA.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iglwKiU9tA.verified.txt index 7c0bbf507d..793a1203e0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iglwKiU9tA.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iglwKiU9tA.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iipUkuEL4I.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iipUkuEL4I.verified.txt index f629267034..6ef1a9fc3e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iipUkuEL4I.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/iipUkuEL4I.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/imc7uoBeBW.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/imc7uoBeBW.verified.txt index cdbc9b4b75..038ffacb60 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/imc7uoBeBW.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/imc7uoBeBW.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ixdKgjUJGb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ixdKgjUJGb.verified.txt index 10e040e9d5..446e72078c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ixdKgjUJGb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ixdKgjUJGb.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/j3XxkKjaDU.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/j3XxkKjaDU.verified.txt index 0ab25f6c79..b21971a0aa 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/j3XxkKjaDU.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/j3XxkKjaDU.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/jSIsXyiijC.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/jSIsXyiijC.verified.txt index c27fc50e4f..37203e2d7d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/jSIsXyiijC.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/jSIsXyiijC.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/k28CGVkIcF.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/k28CGVkIcF.verified.txt index 08d2d5ed05..7253ab7f6b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/k28CGVkIcF.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/k28CGVkIcF.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kMPspWDRPV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kMPspWDRPV.verified.txt index 6bf46380d4..2c101eb36a 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kMPspWDRPV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kMPspWDRPV.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kSPZoPlDl9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kSPZoPlDl9.verified.txt index d80dfb405e..f5439e6f62 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kSPZoPlDl9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kSPZoPlDl9.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kcI9RnlZCl.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kcI9RnlZCl.verified.txt index 0ce0d7f9ea..44c82a6378 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kcI9RnlZCl.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/kcI9RnlZCl.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/l5gRJfMuP6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/l5gRJfMuP6.verified.txt index e81b7b8837..9366de4be0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/l5gRJfMuP6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/l5gRJfMuP6.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/lgCfnVVQwE.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/lgCfnVVQwE.verified.txt index 2afc4f39e8..7b8a81eda0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/lgCfnVVQwE.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/lgCfnVVQwE.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ly6zLmkAEe.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ly6zLmkAEe.verified.txt index 62e34dc75a..a54b25c512 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ly6zLmkAEe.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ly6zLmkAEe.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/m12d8XLmYy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/m12d8XLmYy.verified.txt index a54cdcc635..ed03199396 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/m12d8XLmYy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/m12d8XLmYy.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/mFIIJTvHXY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/mFIIJTvHXY.verified.txt index 2085e74c4e..0d0d6782cb 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/mFIIJTvHXY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/mFIIJTvHXY.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/n0d0Afve8A.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/n0d0Afve8A.verified.txt index 3002142cd3..5970bb620e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/n0d0Afve8A.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/n0d0Afve8A.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nARiIqq5Oi.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nARiIqq5Oi.verified.txt index dfa860fbc4..7344b9588b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nARiIqq5Oi.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nARiIqq5Oi.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nUILcBr2PO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nUILcBr2PO.verified.txt index 476d0b6b21..795f65e88d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nUILcBr2PO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nUILcBr2PO.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nbMaMYe3h6.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nbMaMYe3h6.verified.txt index 8aac6865ae..9a0c4faab0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nbMaMYe3h6.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/nbMaMYe3h6.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/o4gwuUPNtq.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/o4gwuUPNtq.verified.txt index 28a0ec8a59..95f20b9e9c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/o4gwuUPNtq.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/o4gwuUPNtq.verified.txt @@ -382,14 +382,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oH2SqdD6wx.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oH2SqdD6wx.verified.txt index 8389a5fa88..dc647f23e6 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oH2SqdD6wx.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oH2SqdD6wx.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ol1uVqab2n.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ol1uVqab2n.verified.txt index 1ef5b24229..e1385c708e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ol1uVqab2n.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/ol1uVqab2n.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/orOucBh0pL.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/orOucBh0pL.verified.txt index 190fc284f3..b2fe09f4b9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/orOucBh0pL.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/orOucBh0pL.verified.txt @@ -262,14 +262,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oz0eD1nHou.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oz0eD1nHou.verified.txt index ee2804ac6a..f5b503dec7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oz0eD1nHou.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/oz0eD1nHou.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pKThSIEAfM.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pKThSIEAfM.verified.txt index 0e27374728..0988565dda 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pKThSIEAfM.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pKThSIEAfM.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pZ2MY5N3fO.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pZ2MY5N3fO.verified.txt index b8dd8961cc..d09beaf53c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pZ2MY5N3fO.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pZ2MY5N3fO.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pf5pRsb2Nc.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pf5pRsb2Nc.verified.txt index 46dd8be179..93e419585e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pf5pRsb2Nc.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/pf5pRsb2Nc.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/prDeKEmiPH.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/prDeKEmiPH.verified.txt index 649e761bd3..180beed8d9 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/prDeKEmiPH.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/prDeKEmiPH.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/qZgPE8pch9.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/qZgPE8pch9.verified.txt index b3113ea411..df1e1b0494 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/qZgPE8pch9.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/qZgPE8pch9.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rLulWISFGT.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rLulWISFGT.verified.txt index 6cedbcf573..890d1bcdc3 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rLulWISFGT.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rLulWISFGT.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rSPwcy25v8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rSPwcy25v8.verified.txt index ac0ab7e3ce..9b10c8d473 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rSPwcy25v8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rSPwcy25v8.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rVKxEvHGnj.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rVKxEvHGnj.verified.txt index 86f146333c..a23e6a1a89 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rVKxEvHGnj.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rVKxEvHGnj.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rWvBNyimjI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rWvBNyimjI.verified.txt index 10f7ca9af8..3efceeec23 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rWvBNyimjI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rWvBNyimjI.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rerX8Ao4iV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rerX8Ao4iV.verified.txt index a6941524fd..400dc602f8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rerX8Ao4iV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rerX8Ao4iV.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rtqyoCnYvI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rtqyoCnYvI.verified.txt index ac5e05e8a3..0fbc195845 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rtqyoCnYvI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/rtqyoCnYvI.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sCUdmRlz5y.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sCUdmRlz5y.verified.txt index 6f3ee75b0c..9db5fa7c8c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sCUdmRlz5y.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sCUdmRlz5y.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sgGDRAl39y.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sgGDRAl39y.verified.txt index 01fbe7152f..1ab3f80332 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sgGDRAl39y.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/sgGDRAl39y.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/so35ve9Kz5.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/so35ve9Kz5.verified.txt index 2fad55706f..b13df26ac7 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/so35ve9Kz5.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/so35ve9Kz5.verified.txt @@ -277,14 +277,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/soG2jzTBNU.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/soG2jzTBNU.verified.txt index 336b2ee008..2940ddc3d0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/soG2jzTBNU.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/soG2jzTBNU.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tAEH8P36Jy.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tAEH8P36Jy.verified.txt index 0c1488b1e5..fa2867a3a1 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tAEH8P36Jy.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tAEH8P36Jy.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tc8eRDlQpb.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tc8eRDlQpb.verified.txt index 08021fdce1..f1e4dcf242 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tc8eRDlQpb.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tc8eRDlQpb.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tchaMDA2LK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tchaMDA2LK.verified.txt index bcaa341ccd..805accad67 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tchaMDA2LK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tchaMDA2LK.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/thShBJas6A.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/thShBJas6A.verified.txt index 25d44b1814..efd1dcafbc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/thShBJas6A.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/thShBJas6A.verified.txt @@ -260,14 +260,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/trNtjbALp4.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/trNtjbALp4.verified.txt index 066aee4945..c266f44de8 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/trNtjbALp4.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/trNtjbALp4.verified.txt @@ -438,14 +438,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tttEZrgU5W.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tttEZrgU5W.verified.txt index 4d508d81f1..8fc1e6757e 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tttEZrgU5W.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tttEZrgU5W.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tucoqteSJJ.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tucoqteSJJ.verified.txt index a0eba28541..cb8ab7a3c2 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tucoqteSJJ.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/tucoqteSJJ.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/v8SuB33vdj.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/v8SuB33vdj.verified.txt index a300efc6fd..b2e42aa2af 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/v8SuB33vdj.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/v8SuB33vdj.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vIBGW2nFlB.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vIBGW2nFlB.verified.txt index c3e1be4c4b..8d4bf8730d 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vIBGW2nFlB.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vIBGW2nFlB.verified.txt @@ -424,14 +424,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vKfYIckb2z.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vKfYIckb2z.verified.txt index 60f36c9034..7c61b97530 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vKfYIckb2z.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vKfYIckb2z.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vmf7eXjiss.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vmf7eXjiss.verified.txt index dfcdb1dfa0..5a142fe0b5 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vmf7eXjiss.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/vmf7eXjiss.verified.txt @@ -422,14 +422,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/w3STswVYFV.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/w3STswVYFV.verified.txt index dc74765662..d7e3549c06 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/w3STswVYFV.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/w3STswVYFV.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xnaJz0wDbM.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xnaJz0wDbM.verified.txt index 02d8199519..2cf78b11bd 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xnaJz0wDbM.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xnaJz0wDbM.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xo15V5Evsh.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xo15V5Evsh.verified.txt index 8797cf9ff1..b5cebcd14b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xo15V5Evsh.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xo15V5Evsh.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xqjZsQAp1i.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xqjZsQAp1i.verified.txt index 247f57cdc3..729e2704fc 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xqjZsQAp1i.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xqjZsQAp1i.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xrRM7aNmdP.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xrRM7aNmdP.verified.txt index 654c678272..972a2ab77b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xrRM7aNmdP.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xrRM7aNmdP.verified.txt @@ -527,14 +527,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xu33LfHQMG.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xu33LfHQMG.verified.txt index 61979a6672..f5447652b0 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xu33LfHQMG.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/xu33LfHQMG.verified.txt @@ -276,14 +276,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; bool System.ISpanFormattable.TryFormat(global::System.Span destination, out int charsWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider) : true; } /// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/yM43BZMXGk.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/yM43BZMXGk.verified.txt index 627b78d921..53836103ad 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/yM43BZMXGk.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/yM43BZMXGk.verified.txt @@ -439,14 +439,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, formatProvider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider formatProvider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, formatProvider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z22zk0vSgK.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z22zk0vSgK.verified.txt index e25c3127fc..d1c29e6c13 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z22zk0vSgK.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z22zk0vSgK.verified.txt @@ -543,14 +543,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z3B3t8oyp8.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z3B3t8oyp8.verified.txt index 4d5c0ea69c..057c89657c 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z3B3t8oyp8.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/z3B3t8oyp8.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zBAvbucpNY.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zBAvbucpNY.verified.txt index 932dfd2971..df13202d0b 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zBAvbucpNY.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zBAvbucpNY.verified.txt @@ -529,14 +529,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zmu9r12YdI.verified.txt b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zmu9r12YdI.verified.txt index df4af5f1ed..83b641af51 100644 --- a/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zmu9r12YdI.verified.txt +++ b/tests/SnapshotTests/SystemTextJsonGeneration/snapshots/snap-v9.0/zmu9r12YdI.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper.verified.txt index 56c1858c14..342611d03a 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper.verified.txt @@ -419,14 +419,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper_and_skips_user_supplied_ones.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper_and_skips_user_supplied_ones.verified.txt index 52cf0cef33..4546168d26 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper_and_skips_user_supplied_ones.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/ToStringGenerationTests.Hoists_methods_onto_the_struct_wrapper_and_skips_user_supplied_ones.verified.txt @@ -419,14 +419,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_ExpressionBodiedMethod.verified.txt index ad1be5aa53..293d2f659f 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_ExpressionBodiedMethod.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_Method.verified.txt index 44d8cfafac..4fdf38aa95 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_Method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_None.verified.txt index afbc65647d..2fe0a8ead7 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_class_None.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_ExpressionBodiedMethod.verified.txt index 7ed8602fbb..d76d244f69 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_Method.verified.txt index e3fffad223..331488b4d5 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_None.verified.txt index 7ef7a9aa70..8e57bbf45a 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_ExpressionBodiedMethod.verified.txt index 29351abded..6d6c1d504c 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_Method.verified.txt index 5d9c4b55c4..4882b0c046 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_None.verified.txt index 481c7415fb..633d69099a 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_class_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_ExpressionBodiedMethod.verified.txt index d19b21a259..68e42d0747 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_ExpressionBodiedMethod.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_Method.verified.txt index 1690c3297e..af8a064647 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_Method.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_None.verified.txt index ca8c169c83..8e3fb36d42 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_record_struct_None.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_ExpressionBodiedMethod.verified.txt index 93be7de343..0a59c01d76 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_ExpressionBodiedMethod.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_Method.verified.txt index 21883f0f2b..6052476343 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_Method.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_None.verified.txt index f70834b6cf..826ec272ac 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/partial_struct_None.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt index 02b99deb28..24153f347c 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_Method.verified.txt index 9a38f8ac07..c00f750487 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_Method.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_None.verified.txt index 0e07ed91c6..e08e152010 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_record_struct_None.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt index 0c678aac1f..3f0bc6138f 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_Method.verified.txt index 41f4186420..392c3b2b57 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_Method.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_None.verified.txt index c2398c1580..8073126de5 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/readonly_partial_struct_None.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt index d81d3f3231..4a5619d3c4 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_Method.verified.txt index 9b9ff89a6d..d366878cf6 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_Method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_None.verified.txt index 7e84dda5de..7e865a3ab6 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_class_None.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt index 0d32d5ce82..6d02e49e6c 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_Method.verified.txt index 84fa6ce581..d0e842c502 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_None.verified.txt index 3957d77596..79603a6640 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt index 0f58590e2a..a5b3cef8b7 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_Method.verified.txt index eb36ee3186..c32f681a17 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_None.verified.txt index 134d37cdd2..f13e295ae7 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v8.0/sealed_partial_record_class_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_ExpressionBodiedMethod.verified.txt index ad1be5aa53..293d2f659f 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_ExpressionBodiedMethod.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_Method.verified.txt index 44d8cfafac..4fdf38aa95 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_Method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_None.verified.txt index afbc65647d..2fe0a8ead7 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_class_None.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_ExpressionBodiedMethod.verified.txt index 7ed8602fbb..d76d244f69 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_Method.verified.txt index e3fffad223..331488b4d5 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_None.verified.txt index 7ef7a9aa70..8e57bbf45a 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_ExpressionBodiedMethod.verified.txt index 29351abded..6d6c1d504c 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_Method.verified.txt index 5d9c4b55c4..4882b0c046 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_None.verified.txt index 481c7415fb..633d69099a 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_class_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_ExpressionBodiedMethod.verified.txt index d19b21a259..68e42d0747 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_ExpressionBodiedMethod.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_Method.verified.txt index 1690c3297e..af8a064647 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_Method.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_None.verified.txt index ca8c169c83..8e3fb36d42 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_record_struct_None.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_ExpressionBodiedMethod.verified.txt index 93be7de343..0a59c01d76 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_ExpressionBodiedMethod.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_Method.verified.txt index 21883f0f2b..6052476343 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_Method.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_None.verified.txt index f70834b6cf..826ec272ac 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/partial_struct_None.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt index 02b99deb28..24153f347c 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_ExpressionBodiedMethod.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_Method.verified.txt index 9a38f8ac07..c00f750487 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_Method.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_None.verified.txt index 0e07ed91c6..e08e152010 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_record_struct_None.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt index 0c678aac1f..3f0bc6138f 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_ExpressionBodiedMethod.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_Method.verified.txt index 41f4186420..392c3b2b57 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_Method.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_None.verified.txt index c2398c1580..8073126de5 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/readonly_partial_struct_None.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt index d81d3f3231..4a5619d3c4 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_ExpressionBodiedMethod.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_Method.verified.txt index 9b9ff89a6d..d366878cf6 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_Method.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_None.verified.txt index 7e84dda5de..7e865a3ab6 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_class_None.verified.txt @@ -545,14 +545,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt index 0d32d5ce82..6d02e49e6c 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_Method.verified.txt index 84fa6ce581..d0e842c502 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_None.verified.txt index 3957d77596..79603a6640 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt index 0f58590e2a..a5b3cef8b7 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_ExpressionBodiedMethod.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_Method.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_Method.verified.txt index eb36ee3186..c32f681a17 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_Method.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_Method.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_None.verified.txt b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_None.verified.txt index 134d37cdd2..f13e295ae7 100644 --- a/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_None.verified.txt +++ b/tests/SnapshotTests/ToString/snapshots/snap-v9.0/sealed_partial_record_class_None.verified.txt @@ -544,14 +544,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Instance_names_can_have_reserved_keywords.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Instance_names_can_have_reserved_keywords.verified.txt index 7213ffc969..1fb6b0f77b 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Instance_names_can_have_reserved_keywords.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Instance_names_can_have_reserved_keywords.verified.txt @@ -622,14 +622,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Namespace_names_can_have_reserved_keywords.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Namespace_names_can_have_reserved_keywords.verified.txt index 2f9684ad74..c1c43c5c65 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Namespace_names_can_have_reserved_keywords.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Namespace_names_can_have_reserved_keywords.verified.txt @@ -624,14 +624,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.No_namespace.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.No_namespace.verified.txt index 965c555e52..3db62a0073 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.No_namespace.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.No_namespace.verified.txt @@ -528,14 +528,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Partial_struct_created_successfully.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Partial_struct_created_successfully.verified.txt index 2784139bc5..6b88a959cc 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Partial_struct_created_successfully.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Partial_struct_created_successfully.verified.txt @@ -530,14 +530,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances.verified.txt index 9343ec921c..0876b8ce03 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances_with_derived_attribute.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances_with_derived_attribute.verified.txt index e00ee4eff9..81387be4d8 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances_with_derived_attribute.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Produces_instances_with_derived_attribute.verified.txt @@ -540,14 +540,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_PascalCased_validate_method.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_PascalCased_validate_method.verified.txt index 57dc69568a..acd8b740b2 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_PascalCased_validate_method.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_PascalCased_validate_method.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_camelCased_validate_method.verified.txt b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_camelCased_validate_method.verified.txt index e8f4172f11..dc6eb80fb5 100644 --- a/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_camelCased_validate_method.verified.txt +++ b/tests/SnapshotTests/snapshots/snap-v9.0/GenericAttributeTests.Validation_with_camelCased_validate_method.verified.txt @@ -618,14 +618,14 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!; public bool TryFormat(global::System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { charsWritten = default; - return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(destination, out charsWritten, format, provider) : true; } /// public bool TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) { bytesWritten = default; - return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : false; + return IsInitialized() ? Value.TryFormat(utf8Destination, out bytesWritten, format, provider) : true; } #nullable restore diff --git a/tests/Testbench/MessagePackStuff.cs b/tests/Testbench/MessagePackStuff.cs new file mode 100644 index 0000000000..cf2cb58c5d --- /dev/null +++ b/tests/Testbench/MessagePackStuff.cs @@ -0,0 +1,111 @@ +using System; +using System.Linq; +using @int; +using MessagePack; +using MessagePack.Formatters; +using MessagePack.Resolvers; +using N1; +using N2; +//using Testbench.SubNamespace; +using Vogen; +// ReSharper disable UnusedVariable + +namespace Testbench; + +[MessagePack] +[MessagePack] +[MessagePack] +[MessagePack] +[MessagePack] +[MessagePack] +[EfCoreConverter] +[BsonSerializer] +[BsonSerializer] +public partial class MyMarkers; + +[ValueObject(Conversions.MessagePack)] +public partial struct MyBool +{ +} + +public readonly record struct @decimal; + +[ValueObject(typeof(@decimal))] +public partial class classFromEscapedNamespaceWithReservedUnderlyingType +{ +} + + +public static class Runner +{ + public static void Run() + { + // Create an instance of the sample class + var originalObject = new Sample + { + Id = MyId.From(Guid.NewGuid()), + Name = Name.From("Test"), + StartDate = StartDate.From(DateTimeOffset.Now), + Active = MyBool.From(true) + }; + + + IMessagePackFormatter[] messagePackFormatters = MyMarkers.MessagePackFormatters; + +//messagePackFormatters = messagePackFormatters.Append(new MyGuidFormatter()).ToArray(); + + var customResolver = MessagePack.Resolvers.CompositeResolver.Create( + messagePackFormatters, +// new IMessagePackFormatter[] { new MyMarkers.MyIdMessagePackFormatter(), new MyMarkers.NameMessagePackFormatter(), new MyMarkers.MyBoolMessagePackFormatter() }, + [MessagePack.Resolvers.StandardResolver.Instance] + ); + + var options = MessagePackSerializerOptions.Standard.WithResolver(customResolver); + + byte[] serializedObject = MessagePackSerializer.Serialize(originalObject, options); + + +// Deserialize the byte array back to the Sample object using the custom options + var deserializedObject = MessagePackSerializer.Deserialize(serializedObject, options); + +// Display the deserialized object + Console.WriteLine($"Id: {deserializedObject.Id}, Name: {deserializedObject.Name}, Active: {deserializedObject.Active}, StartDate: {deserializedObject.StartDate:o}"); + + } +} + +// public class MyGuidFormatter : IMessagePackFormatter +// { +// public void Serialize(ref MessagePackWriter writer, MyId value, MessagePackSerializerOptions options) +// { +// IMessagePackFormatter? r = StandardResolver.Instance.GetFormatter(); +// if (r is null) throw new MessagePackSerializationException(""); +// r.Serialize(ref writer, value.Value, options); +// } +// +// public MyId Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) +// { +// IMessagePackFormatter? r = StandardResolver.Instance.GetFormatter(); +// if (r is null) throw new MessagePackSerializationException(""); +// Guid? g = r?.Deserialize(ref reader, options); +// +// return MyId.From(g!.Value); +// } +// } + +[MessagePackObject] +public class Sample +{ + [MessagePack.Key(0)] + public MyId Id { get; set; } + + [MessagePack.Key(1)] public Name Name { get; set; } = Name.From(""); + [MessagePack.Key(2)] public MyBool Active { get; set; } = MyBool.From(false); + [MessagePack.Key(3)] public StartDate StartDate { get; set; } +} + +[ValueObject] +public partial struct StartDate; + +[ValueObject] +public partial struct MyId; \ No newline at end of file diff --git a/tests/Testbench/Program.cs b/tests/Testbench/Program.cs index 0ddcebc3f4..f39dcd30f1 100644 --- a/tests/Testbench/Program.cs +++ b/tests/Testbench/Program.cs @@ -1,111 +1,10 @@ -using System; -using System.Linq; -using @int; -using MessagePack; -using MessagePack.Formatters; -using MessagePack.Resolvers; -using N1; -using N2; //using Testbench.SubNamespace; -using Vogen; -// ReSharper disable UnusedVariable - -namespace Testbench; - -[MessagePack] -[MessagePack] -[MessagePack] -[MessagePack] -[MessagePack] -[MessagePack] -[EfCoreConverter] -[BsonSerializer] -[BsonSerializer] -public partial class MyMarkers; - -[ValueObject(Conversions.MessagePack)] -public partial struct MyBool -{ -} - -public readonly record struct @decimal; - -[ValueObject(typeof(@decimal))] -public partial class classFromEscapedNamespaceWithReservedUnderlyingType -{ -} - - -public static class Program -{ - public static void Main() - { - // Create an instance of the sample class - var originalObject = new Sample - { - Id = MyId.From(Guid.NewGuid()), - Name = Name.From("Test"), - StartDate = StartDate.From(DateTimeOffset.Now), - Active = MyBool.From(true) - }; +// ReSharper disable UnusedVariable - IMessagePackFormatter[] messagePackFormatters = MyMarkers.MessagePackFormatters; - -//messagePackFormatters = messagePackFormatters.Append(new MyGuidFormatter()).ToArray(); - - var customResolver = MessagePack.Resolvers.CompositeResolver.Create( - messagePackFormatters, -// new IMessagePackFormatter[] { new MyMarkers.MyIdMessagePackFormatter(), new MyMarkers.NameMessagePackFormatter(), new MyMarkers.MyBoolMessagePackFormatter() }, - [MessagePack.Resolvers.StandardResolver.Instance] - ); - - var options = MessagePackSerializerOptions.Standard.WithResolver(customResolver); - - byte[] serializedObject = MessagePackSerializer.Serialize(originalObject, options); - - -// Deserialize the byte array back to the Sample object using the custom options - var deserializedObject = MessagePackSerializer.Deserialize(serializedObject, options); - -// Display the deserialized object - Console.WriteLine($"Id: {deserializedObject.Id}, Name: {deserializedObject.Name}, Active: {deserializedObject.Active}, StartDate: {deserializedObject.StartDate:o}"); - - } -} - -// public class MyGuidFormatter : IMessagePackFormatter -// { -// public void Serialize(ref MessagePackWriter writer, MyId value, MessagePackSerializerOptions options) -// { -// IMessagePackFormatter? r = StandardResolver.Instance.GetFormatter(); -// if (r is null) throw new MessagePackSerializationException(""); -// r.Serialize(ref writer, value.Value, options); -// } -// -// public MyId Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options) -// { -// IMessagePackFormatter? r = StandardResolver.Instance.GetFormatter(); -// if (r is null) throw new MessagePackSerializationException(""); -// Guid? g = r?.Deserialize(ref reader, options); -// -// return MyId.From(g!.Value); -// } -// } -[MessagePackObject] -public class Sample -{ - [MessagePack.Key(0)] - public MyId Id { get; set; } +using iformattable_infinite_loop; - [MessagePack.Key(1)] public Name Name { get; set; } = Name.From(""); - [MessagePack.Key(2)] public MyBool Active { get; set; } = MyBool.From(false); - [MessagePack.Key(3)] public StartDate StartDate { get; set; } -} +InfiniteLoopRunner.Run(); -[ValueObject] -public partial struct StartDate; -[ValueObject] -public partial struct MyId; \ No newline at end of file diff --git a/tests/Testbench/iformattable-infinite-loop/InfiniteLoopRunner.cs b/tests/Testbench/iformattable-infinite-loop/InfiniteLoopRunner.cs new file mode 100644 index 0000000000..48a4ae922b --- /dev/null +++ b/tests/Testbench/iformattable-infinite-loop/InfiniteLoopRunner.cs @@ -0,0 +1,71 @@ +using System.Reflection.Metadata.Ecma335; +using Vogen; + +namespace iformattable_infinite_loop; +using System; + +public class InfiniteLoopRunner +{ + public static void Run() + { + var testContainer = new TestContainer(); + + Console.WriteLine(testContainer); + } + + public class TestContainer + { + // uninitialized prints `[UNINITIALIZED]` + public StructVoString StructVoString { get; set; } + + // prints nothing, null references aren't called + public ClassMyType ClassMyType { get; set; } = default!; + + // prints nothing + public StructVoMyTypeClassFormattable StructVoMyTypeClassFormattable { get; set; } + + // default guid (000-00000 etc) + public Guid TheGuid { get; set; } + + // nothing - null references are not called + public string TheString { get; set; } = default!; + + public override string ToString() + => $"StructVoString:{StructVoString} - MyType:{ClassMyType} - TheGuid:{TheGuid} - TheString:{TheString} - StructVoMyTypeClassFormattable{StructVoMyTypeClassFormattable}"; + } + +} + +[ValueObject] +public readonly partial struct StructVoString; + +[ValueObject] +public readonly partial struct StructVoMyTypeClassFormattable; + +public class ClassMyType : ISpanFormattable +{ + private string? _value; + + public ClassMyType(string? value) => _value = value; + public string ToString(string? format, IFormatProvider? formatProvider) => _value ?? "[UNINITIALIZED]"; + + public bool TryFormat(Span destination, out int charsWritten, ReadOnlySpan format, IFormatProvider? provider) + { + if (_value is not null) + { + if (destination.Length < _value.Length) + { + charsWritten = 0; + return false; + } + + + _value.AsSpan().CopyTo(destination); + charsWritten = _value.Length; + return true; + } + + charsWritten = 0; + return true; + } +} diff --git a/tests/Testbench/iformattable-infinite-loop/Test.cs b/tests/Testbench/iformattable-infinite-loop/Test.cs new file mode 100644 index 0000000000..96e5590096 --- /dev/null +++ b/tests/Testbench/iformattable-infinite-loop/Test.cs @@ -0,0 +1,528 @@ +// using System; +// +// namespace iformattable_infinite_loop; +// +// // ------------------------------------------------------------------------------ +// // +// // This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen) +// // +// // Changes to this file may cause incorrect behavior and will be lost if +// // the code is regenerated. +// // +// // ------------------------------------------------------------------------------ +// // Suppress warnings about [Obsolete] member usage in generated code. +// #pragma warning disable CS0618 +// // Suppress warnings for 'Override methods on comparable types'. +// #pragma warning disable CA1036 +// // Suppress Error MA0097 : A class that implements IComparable or IComparable should override comparison operators +// #pragma warning disable MA0097 +// // Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.' +// // The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations. +// #pragma warning disable CS8669, CS8632 +// // Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member' +// #pragma warning disable CS1591 +// #nullable enable +// [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] +// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Vogen", "5.0.0.0")] +// [global::System.Text.Json.Serialization.JsonConverter(typeof(TestSystemTextJsonConverter))] +// [global::System.ComponentModel.TypeConverter(typeof(TestTypeConverter))] +// [global::System.Diagnostics.DebuggerTypeProxyAttribute(typeof(TestDebugView))] +// [global::System.Diagnostics.DebuggerDisplayAttribute("Underlying type: System.Guid, Value = { _value }")] +// // ReSharper disable once UnusedType.Global +// public readonly partial struct Test : global::System.IEquatable, global::System.IEquatable, global::System.IComparable, global::System.IComparable, global::System.IParsable, global::System.ISpanParsable, global::System.IFormattable, global::System.ISpanFormattable, global::System.IUtf8SpanFormattable +// { +// #if DEBUG +// private readonly global::System.Diagnostics.StackTrace? _stackTrace = null!; +// #endif +// #if !VOGEN_NO_VALIDATION +// private readonly global::System.Boolean _isInitialized; +// #endif +// private readonly System.Guid _value; +// /// +// /// Gets the underlying value if set, otherwise a is thrown. +// /// +// public readonly System.Guid Value +// { +// [global::System.Diagnostics.DebuggerStepThroughAttribute] +// [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] +// get +// { +// EnsureInitialized(); +// return _value; +// } +// } +// +// [global::System.Diagnostics.DebuggerStepThroughAttribute] +// [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] +// public Test() +// { +// #if DEBUG +// _stackTrace = new global::System.Diagnostics.StackTrace(); +// #endif +// #if !VOGEN_NO_VALIDATION +// _isInitialized = false; +// #endif +// _value = default; +// } +// +// [global::System.Diagnostics.DebuggerStepThroughAttribute] +// private Test(System.Guid value) +// { +// _value = value; +// #if !VOGEN_NO_VALIDATION +// _isInitialized = true; +// #endif +// } +// +// /// +// /// Builds an instance from the provided underlying type. +// /// +// /// The underlying type. +// /// An instance of this type. +// [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] +// public static Test From(System.Guid value) +// { +// return new Test(value); +// } +// +// /// +// /// Tries to build an instance from the provided underlying type. +// /// If a normalization method is provided, it will be called. +// /// If validation is provided, and it fails, false will be returned. +// /// +// /// The underlying type. +// /// An instance of the value object. +// /// True if the value object can be built, otherwise false. +// +// #pragma warning disable CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member because of nullability attributes. +// +// public static bool TryFrom( +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +// #endif +// System.Guid value, +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] +// #endif +// out Test vo) +// #pragma warning restore CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member because of nullability attributes. +// +// { +// vo = new Test(value); +// return true; +// } +// +// /// +// /// Tries to build an instance from the provided underlying value. +// /// If a normalization method is provided, it will be called. +// /// If validation is provided, and it fails, an error will be returned. +// /// +// /// The primitive value. +// /// A containing either the value object, or an error. +// public static Vogen.ValueObjectOrError TryFrom(System.Guid value) +// { +// return new Vogen.ValueObjectOrError(new Test(value)); +// } +// +// [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] +// #if VOGEN_NO_VALIDATION +// #pragma warning disable CS8775 +// public readonly bool IsInitialized() => true; +// #pragma warning restore CS8775 +// #else +// public readonly bool IsInitialized() => _isInitialized; +// #endif +// public static explicit operator Test(System.Guid value) => From(value); +// public static explicit operator System.Guid(Test value) => value.Value; +// // only called internally when something has been deserialized into +// // its primitive type. +// private static Test __Deserialize(System.Guid value) +// { +// return new Test(value); +// } +// +// public readonly global::System.Boolean Equals(Test other) +// { +// // It's possible to create uninitialized instances via converters such as EfCore (HasDefaultValue), which call Equals. +// // We treat anything uninitialized as not equal to anything, even other uninitialized instances of this type. +// if (!IsInitialized() || !other.IsInitialized()) +// return false; +// return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value, other.Value); +// } +// +// public global::System.Boolean Equals(Test other, global::System.Collections.Generic.IEqualityComparer comparer) +// { +// return comparer.Equals(this, other); +// } +// +// public readonly global::System.Boolean Equals(System.Guid primitive) +// { +// return Value.Equals(primitive); +// } +// +// public readonly override global::System.Boolean Equals(global::System.Object? obj) +// { +// return obj is Test && Equals((Test)obj); +// } +// +// public static global::System.Boolean operator ==(Test left, Test right) => left.Equals(right); +// public static global::System.Boolean operator !=(Test left, Test right) => !(left == right); +// public static global::System.Boolean operator ==(Test left, System.Guid right) => left.Value.Equals(right); +// public static global::System.Boolean operator ==(System.Guid left, Test right) => right.Value.Equals(left); +// public static global::System.Boolean operator !=(System.Guid left, Test right) => !(left == right); +// public static global::System.Boolean operator !=(Test left, System.Guid right) => !(left == right); +// public int CompareTo(Test other) => Value.CompareTo(other.Value); +// public int CompareTo(object? other) +// { +// if (other is null) +// return 1; +// if (other is Test x) +// return CompareTo(x); +// ThrowHelper.ThrowArgumentException("Cannot compare to object as it is not of type Test", nameof(other)); +// return 0; +// } +// +// /// +// /// +// /// +// /// +// /// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization). +// /// +// public static global::System.Boolean TryParse(global::System.ReadOnlySpan input, +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +// #endif +// out Test result) +// { +// if (System.Guid.TryParse(input, out var __v)) +// { +// result = new Test(__v); +// return true; +// } +// +// result = default; +// return false; +// } +// +// /// +// /// +// /// +// /// +// /// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization). +// /// +// public static global::System.Boolean TryParse(global::System.ReadOnlySpan s, global::System.IFormatProvider? provider, +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +// #endif +// out Test result) +// { +// if (System.Guid.TryParse(s, provider, out var __v)) +// { +// result = new Test(__v); +// return true; +// } +// +// result = default; +// return false; +// } +// +// /// +// /// +// /// +// /// +// /// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization). +// /// +// public static global::System.Boolean TryParse(string? input, +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +// #endif +// out Test result) +// { +// if (System.Guid.TryParse(input, out var __v)) +// { +// result = new Test(__v); +// return true; +// } +// +// result = default; +// return false; +// } +// +// /// +// /// +// /// +// /// +// /// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization). +// /// +// public static global::System.Boolean TryParse(string? s, global::System.IFormatProvider? provider, +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +// #endif +// out Test result) +// { +// if (System.Guid.TryParse(s, provider, out var __v)) +// { +// result = new Test(__v); +// return true; +// } +// +// result = default; +// return false; +// } +// +// /// +// /// +// /// +// /// +// /// The value created by calling the Parse method on the primitive. +// /// +// /// Thrown when the value can be parsed, but is not valid. +// public static Test Parse(global::System.ReadOnlySpan input) +// { +// var r = System.Guid.Parse(input); +// return From(r); +// } +// +// /// +// /// +// /// +// /// +// /// The value created by calling the Parse method on the primitive. +// /// +// /// Thrown when the value can be parsed, but is not valid. +// public static Test Parse(global::System.ReadOnlySpan s, global::System.IFormatProvider? provider) +// { +// var r = System.Guid.Parse(s, provider); +// return From(r); +// } +// +// /// +// /// +// /// +// /// +// /// The value created by calling the Parse method on the primitive. +// /// +// /// Thrown when the value can be parsed, but is not valid. +// public static Test Parse(string input) +// { +// var r = System.Guid.Parse(input); +// return From(r); +// } +// +// /// +// /// +// /// +// /// +// /// The value created by calling the Parse method on the primitive. +// /// +// /// Thrown when the value can be parsed, but is not valid. +// public static Test Parse(string s, global::System.IFormatProvider? provider) +// { +// var r = System.Guid.Parse(s, provider); +// return From(r); +// } +// +// #nullable disable +// /// +// public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string format, global::System.IFormatProvider provider) +// { +// return IsInitialized() ? Value.ToString(format, provider) : "[UNINITIALIZED]"; +// } +// +// /// +// bool System.ISpanFormattable.TryFormat(global::System.Span destination, +// out int charsWritten, +// [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, +// global::System.IFormatProvider provider) +// { +// charsWritten = default; +// if (IsInitialized()) +// { +// return (Value as System.ISpanFormattable).TryFormat(destination, out charsWritten, format, provider); +// } +// else +// { +// +// const string s = "[UNINITIALIZED]"; +// if (s.Length <= destination.Length) +// { +// global::System.MemoryExtensions.AsSpan(s).CopyTo(destination); +// +// //s.AsSpan().CopyTo(destination); +// charsWritten = s.Length; +// return true; +// } +// +// charsWritten = 0; +// return false; +// } +// } +// +// /// +// bool System.IUtf8SpanFormattable.TryFormat(global::System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] global::System.ReadOnlySpan format, global::System.IFormatProvider provider) +// { +// bytesWritten = default; +// return IsInitialized() ? (Value as System.IUtf8SpanFormattable).TryFormat(utf8Destination, out bytesWritten, format, provider) : false; +// } +// +// #nullable restore +// public readonly override global::System.Int32 GetHashCode() +// { +// return global::System.Collections.Generic.EqualityComparer.Default.GetHashCode(Value); +// } +// +// /// +// public override global::System.String ToString() => IsInitialized() ? Value.ToString() ?? "" : "[UNINITIALIZED]"; +// /// +// public global::System.String ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string? format) => IsInitialized() ? Value.ToString(format) ?? "" : "[UNINITIALIZED]"; +// [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] +// private readonly void EnsureInitialized() +// { +// if (!IsInitialized()) +// { +// #if DEBUG +// ThrowHelper.ThrowWhenNotInitialized(_stackTrace); +// #else +// ThrowHelper.ThrowWhenNotInitialized(); +// #endif +// } +// } +// +// #nullable disable +// /// +// /// Converts a Test to or from JSON. +// /// +// public class TestSystemTextJsonConverter : global::System.Text.Json.Serialization.JsonConverter +// { +// public override Test Read(ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) +// { +// return Test.__Deserialize(reader.GetGuid()); +// } +// +// public override void Write(System.Text.Json.Utf8JsonWriter writer, Test value, global::System.Text.Json.JsonSerializerOptions options) +// { +// writer.WriteStringValue(value.Value); +// } +// #if NET6_0_OR_GREATER // we can't call Read or use GetGuid from JsonReader as it expects a token type of string, but here we have have 'propertyname'. +// +// public override Test ReadAsPropertyName(ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) +// { +// if (global::System.Guid.TryParse(reader.GetString(), out global::System.Guid g)) +// { +// return Test.__Deserialize(g); +// } +// +// throw new global::System.Text.Json.JsonException("Unable to parse the GUID for an instance of Test"); +// } +// +// public override void WriteAsPropertyName(System.Text.Json.Utf8JsonWriter writer, Test value, global::System.Text.Json.JsonSerializerOptions options) +// { +// writer.WritePropertyName(value.Value.ToString()); +// } +// #endif +// } +// +// #nullable restore +// #nullable disable +// class TestTypeConverter : global::System.ComponentModel.TypeConverter +// { +// public override global::System.Boolean CanConvertFrom(global::System.ComponentModel.ITypeDescriptorContext context, global::System.Type sourceType) +// { +// return sourceType == typeof(global::System.Guid) || sourceType == typeof(global::System.String) || base.CanConvertFrom(context, sourceType); +// } +// +// public override global::System.Object ConvertFrom(global::System.ComponentModel.ITypeDescriptorContext context, global::System.Globalization.CultureInfo culture, global::System.Object value) +// { +// return value switch +// { +// global::System.Guid guidValue => Test.__Deserialize(guidValue), +// global::System.String stringValue when !global::System.String.IsNullOrEmpty(stringValue) && global::System.Guid.TryParse(stringValue, out var result) => Test.__Deserialize(result), +// _ => base.ConvertFrom(context, culture, value), +// }; +// } +// +// public override bool CanConvertTo(global::System.ComponentModel.ITypeDescriptorContext context, global::System.Type sourceType) +// { +// return sourceType == typeof(global::System.Guid) || sourceType == typeof(global::System.String) || base.CanConvertTo(context, sourceType); +// } +// +// public override object ConvertTo(global::System.ComponentModel.ITypeDescriptorContext context, global::System.Globalization.CultureInfo culture, global::System.Object value, global::System.Type destinationType) +// { +// if (value is Test idValue) +// { +// if (destinationType == typeof(global::System.Guid)) +// { +// return idValue.Value; +// } +// +// if (destinationType == typeof(global::System.String)) +// { +// return idValue.Value.ToString(); +// } +// } +// +// return base.ConvertTo(context, culture, value, destinationType); +// } +// } +// +// #nullable restore +// #nullable disable +// internal sealed class TestDebugView +// { +// private readonly Test _t; +// TestDebugView(Test t) +// { +// _t = t; +// } +// +// public global::System.Boolean IsInitialized => _t.IsInitialized(); +// public global::System.String UnderlyingType => "System.Guid"; +// public global::System.String Value => _t.IsInitialized() ? _t._value.ToString() : "[not initialized]"; +// #if DEBUG +// public global::System.String CreatedWith => _t._stackTrace?.ToString() ?? "the From method"; +// #endif +// public global::System.String Conversions => @"Default"; +// } +// +// #nullable restore +// static class ThrowHelper +// { +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] +// #endif +// internal static void ThrowInvalidOperationException(string message) => throw new global::System.InvalidOperationException(message); +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] +// #endif +// internal static void ThrowArgumentException(string message, string arg) => throw new global::System.ArgumentException(message, arg); +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] +// #endif +// internal static void ThrowWhenCreatedWithNull() => throw new global::Vogen.ValueObjectValidationException("Cannot create a value object with null."); +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] +// #endif +// internal static void ThrowWhenNotInitialized() => throw new global::Vogen.ValueObjectValidationException("Use of uninitialized Value Object."); +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] +// #endif +// internal static void ThrowWhenNotInitialized(global::System.Diagnostics.StackTrace? stackTrace) => throw new global::Vogen.ValueObjectValidationException("Use of uninitialized Value Object at: " + stackTrace ?? ""); +// #if NETCOREAPP3_0_OR_GREATER +// [global::System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] +// #endif +// internal static void ThrowWhenValidationFails(Vogen.Validation validation) +// { +// var ex = new global::Vogen.ValueObjectValidationException(validation.ErrorMessage); +// if (validation.Data is not null) +// { +// foreach (var kvp in validation.Data) +// { +// ex.Data[kvp.Key] = kvp.Value; +// } +// } +// +// throw ex; +// } +// } +// } +// #nullable restore